Skip to content

Commit 1b38c61

Browse files
committed
feat: remove Oh My Zsh check
Signed-off-by: Lucas Larson <LucasLarson@riseup.net>
1 parent 3b9ccf9 commit 1b38c61

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

.zshrc

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,17 @@ bindkey '^[[1;5C' forward-word
4848
bindkey '^[[1;5D' backward-word
4949
bindkey '^[[Z' reverse-menu-complete
5050

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-
done
51+
## Plugins and custom scripts
52+
test -d "${ZSH_CUSTOM-}" &&
53+
{
54+
for file in "${ZSH_CUSTOM-}"/plugins/**/*.plugin.*sh; do
55+
. "${file-}" 2>/dev/null &&
56+
FPATH="${FPATH:+${FPATH-}:}${file%/*}"
57+
done
58+
for file in "${ZSH_CUSTOM-}"/*sh; do
59+
. "${file-}"
60+
done
61+
}
6062

6163
## MANPATH
6264
test -d '/usr/local/man' &&

0 commit comments

Comments
 (0)