🐛fix(env): fix fpath, fix logic
remove quotes around $fpath variable as this broke omz fixed logic when checking for gdircolors on macOS
This commit is contained in:
@@ -20,7 +20,7 @@ if [ -d "$HOME/.bin" ]; then
|
||||
export PATH="$HOME/.bin:$PATH"
|
||||
fi
|
||||
|
||||
fpath=("$HOME/.zsh/zsh-completions/src" "$fpath")
|
||||
fpath=("$HOME/.zsh/zsh-completions/src" $fpath)
|
||||
|
||||
# Editor
|
||||
export EDITOR='nvim'
|
||||
@@ -100,7 +100,9 @@ case $(uname -s) in
|
||||
|
||||
eval "$(brew shellenv)"
|
||||
|
||||
[[ ! -f "$(which gdircolors)" ]] || test -f "$HOME/.dircolors" && eval "$(gdircolors "$HOME/.dircolors")" || eval "$(gdircolors)"
|
||||
if command -v gdircolors >/dev/null 2>&1; then
|
||||
test -f "$HOME/.dircolors" && eval "$(gdircolors "$HOME/.dircolors")" || eval "$(gdircolors)"
|
||||
fi
|
||||
;;
|
||||
|
||||
Linux)
|
||||
|
||||
Reference in New Issue
Block a user