Browse Source

Add support for loading plugins in the oh-my-zsh format

Closes #1484
master
Kaleb Elwert 7 years ago
parent
commit
e96ea76565
  1. 2
      init.zsh

2
init.zsh

@ -125,6 +125,8 @@ function pmodload {
if [[ -s "${pmodule_location}/init.zsh" ]]; then if [[ -s "${pmodule_location}/init.zsh" ]]; then
source "${pmodule_location}/init.zsh" source "${pmodule_location}/init.zsh"
elif [[ -s "${pmodule_location}/${pmodule}.plugin.zsh" ]]; then
source "${pmodule_location}/${pmodule}.plugin.zsh"
fi fi
if (( $? == 0 )); then if (( $? == 0 )); then

Loading…
Cancel
Save