Include additional zsh env (fzf/gnu tar)

This commit is contained in:
Andrew Tomaka 2022-06-18 00:49:38 -04:00
parent e3a2f44786
commit 6f14c93898
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
2 changed files with 4 additions and 0 deletions

View file

@ -42,3 +42,5 @@ else
compinit -C
fi
unsetopt EXTENDEDGLOB
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh

View file

@ -15,6 +15,7 @@ if [[ "$OSTYPE" == darwin* ]]; then
HOMEBREW_REPOSITORY="/opt/homebrew"
GNU_SED_PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin"
GNU_TAR_PATH="/opt/homebrew/opt/gnu-tar/libexec/gnubin"
GNU_TOOLS_PATH="/opt/homebrew/opt/coreutils/libexec/gnubin"
GNU_TOOLS_MAN_PATH="/opt/homebrew/opt/coreutils/libexec/gnuman"
@ -25,6 +26,7 @@ if [[ "$OSTYPE" == darwin* ]]; then
INFOPATH="/opt/homebrew/share/info:${INFOPATH:-}";
[[ -d "$GNU_SED_PATH" ]] && PATH="$GNU_SED_PATH:$PATH"
[[ -d "$GNU_TAR_PATH" ]] && PATH="$GNU_TAR_PATH:$PATH"
[[ -d "$GNU_TOOLS_PATH" ]] && PATH="$GNU_TOOLS_PATH:$PATH"
[[ -d "$GNU_TOOLS_MAN_PATH" ]] && MANPATH="$GNU_TOOLS_MAN_PATH:$MANPATH"
fi