We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0cdbff commit bb844e6Copy full SHA for bb844e6
1 file changed
.zshrc
@@ -69,15 +69,17 @@ bindkey '^[[1;5C' forward-word
69
bindkey '^[[1;5D' backward-word
70
bindkey '^[[Z' reverse-menu-complete
71
72
-## Oh My Zsh
73
-. "${ZSH-}"'/oh-my-zsh.sh'
74
-for file in "${ZSH_CUSTOM-}"/plugins/**/*.plugin.*sh; do
75
- . "${file-}" 2>/dev/null &&
76
- FPATH="${FPATH:+${FPATH-}:}${file%/*}"
77
-done
78
-for file in "${ZSH_CUSTOM-}"/*sh; do
79
- . "${file-}"
80
+## Plugins and custom scripts
+test -d "${ZSH_CUSTOM-}" &&
+ {
+ for file in "${ZSH_CUSTOM-}"/plugins/**/*.plugin.*sh; do
+ . "${file-}" 2>/dev/null &&
+ FPATH="${FPATH:+${FPATH-}:}${file%/*}"
+ done
+ for file in "${ZSH_CUSTOM-}"/*sh; do
+ . "${file-}"
81
82
+ }
83
84
## MANPATH
85
test -d '/usr/local/man' &&
0 commit comments