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 3b9ccf9 commit 1b38c61Copy full SHA for 1b38c61
1 file changed
.zshrc
@@ -48,15 +48,17 @@ bindkey '^[[1;5C' forward-word
48
bindkey '^[[1;5D' backward-word
49
bindkey '^[[Z' reverse-menu-complete
50
51
-## Oh My Zsh
52
-. "${ZSH-}"'/oh-my-zsh.sh'
53
-for file in "${ZSH_CUSTOM-}"/plugins/**/*.plugin.*sh; do
54
- . "${file-}" 2>/dev/null &&
55
- FPATH="${FPATH:+${FPATH-}:}${file%/*}"
56
-done
57
-for file in "${ZSH_CUSTOM-}"/*sh; do
58
- . "${file-}"
59
+## 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-}"
60
61
+ }
62
63
## MANPATH
64
test -d '/usr/local/man' &&
0 commit comments