Include additional zsh env (fzf/gnu tar)
This commit is contained in:
parent
e3a2f44786
commit
6f14c93898
2 changed files with 4 additions and 0 deletions
|
@ -42,3 +42,5 @@ else
|
|||
compinit -C
|
||||
fi
|
||||
unsetopt EXTENDEDGLOB
|
||||
|
||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue