Make sure Mac works
This commit is contained in:
parent
3d686f72e4
commit
56722c33c1
1 changed files with 12 additions and 8 deletions
20
zsh/.zshenv
20
zsh/.zshenv
|
@ -9,13 +9,16 @@ GNU_TOOLS_PATH="/opt/homebrew/opt/coreutils/libexec/gnubin"
|
||||||
GNU_TOOLS_MAN_PATH="/opt/homebrew/opt/coreutils/libexec/gnuman"
|
GNU_TOOLS_MAN_PATH="/opt/homebrew/opt/coreutils/libexec/gnuman"
|
||||||
|
|
||||||
if [[ "$OSTYPE" == darwin* ]]; then
|
if [[ "$OSTYPE" == darwin* ]]; then
|
||||||
export HOMEBREW_PREFIX="/opt/homebrew";
|
HOMEBREW_PREFIX="/opt/homebrew";
|
||||||
export HOMEBREW_CELLAR="/opt/homebrew/Cellar";
|
HOMEBREW_CELLAR="/opt/homebrew/Cellar";
|
||||||
export HOMEBREW_REPOSITORY="/opt/homebrew";
|
HOMEBREW_REPOSITORY="/opt/homebrew";
|
||||||
|
|
||||||
export PATH="/opt/homebrew/bin:/opt/homebrew/sbin${PATH+:$PATH}";
|
# Added by .zprofile that we've moved
|
||||||
export MANPATH="/opt/homebrew/share/man${MANPATH+:$MANPATH}:";
|
PATH="/usr/local/bin:/Library/Apple/usr/bin:$PATH"
|
||||||
export INFOPATH="/opt/homebrew/share/info:${INFOPATH:-}";
|
|
||||||
|
PATH="/opt/homebrew/bin:/opt/homebrew/sbin${PATH+:$PATH}";
|
||||||
|
MANPATH="/opt/homebrew/share/man${MANPATH+:$MANPATH}:";
|
||||||
|
INFOPATH="/opt/homebrew/share/info:${INFOPATH:-}";
|
||||||
|
|
||||||
[[ -d "$GNU_TOOLS_PATH" ]] && PATH="$GNU_TOOLS_PATH:$PATH"
|
[[ -d "$GNU_TOOLS_PATH" ]] && PATH="$GNU_TOOLS_PATH:$PATH"
|
||||||
[[ -d "$GNU_TOOLS_MAN_PATH" ]] && MANPATH="$GNU_TOOLS_MAN_PATH:$MANPATH"
|
[[ -d "$GNU_TOOLS_MAN_PATH" ]] && MANPATH="$GNU_TOOLS_MAN_PATH:$MANPATH"
|
||||||
|
@ -31,7 +34,8 @@ fi
|
||||||
|
|
||||||
[[ -d "$LOCAL_HOME_BIN_PATH" ]] && PATH="$LOCAL_HOME_BIN_PATH:$PATH"
|
[[ -d "$LOCAL_HOME_BIN_PATH" ]] && PATH="$LOCAL_HOME_BIN_PATH:$PATH"
|
||||||
[[ -d "$PERSONAL_BIN_PATH" ]] && PATH="$PERSONAL_BIN_PATH:$PATH"
|
[[ -d "$PERSONAL_BIN_PATH" ]] && PATH="$PERSONAL_BIN_PATH:$PATH"
|
||||||
[[ -d "$PERSONAL_COMPLETIONS_PATH" ]] && fpath=($PERSONAL_COMPLETIONS_PATH $fpath)
|
[[ -d "$PERSONAL_COMPLETIONS_PATH" ]] && FPATH="$PERSONAL_COMPLETIONS_PATH:$FPATH"
|
||||||
|
|
||||||
# EDITOR
|
# EDITOR
|
||||||
export {EDITOR,GIT_EDITOR}=vim
|
EDITOR=vim
|
||||||
|
GIT_EDITOR=vim
|
||||||
|
|
Loading…
Reference in a new issue