Cleanup from reset after mac setup
This commit is contained in:
parent
bf26003ab3
commit
00c41d7552
4 changed files with 27 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
export GPG_TTY=$(tty)
|
||||
|
||||
typeset -U PATH
|
||||
|
||||
source $ZDOTDIR/aliases
|
||||
|
|
18
zsh/.zshenv
18
zsh/.zshenv
|
@ -5,6 +5,24 @@ RBENV_PATH="$HOME/.rbenv/bin"
|
|||
|
||||
ZDOTDIR=$HOME/.config/zsh
|
||||
|
||||
if [[ "$OSTYPE" == darwin* ]]; then
|
||||
HOMEBREW_PREFIX="/opt/homebrew"
|
||||
HOMEBREW_CELLAR="/opt/homebrew/Cellar"
|
||||
HOMEBREW_REPOSITORY="/opt/homebrew"
|
||||
|
||||
GNU_TOOLS_PATH="/opt/homebrew/opt/coreutils/libexec/gnubin"
|
||||
GNU_TOOLS_MAN_PATH="/opt/homebrew/opt/coreutils/libexec/gnuman"
|
||||
|
||||
PATH="/usr/local/bin:/Library/Apple/usr/bin:$PATH"
|
||||
|
||||
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_MAN_PATH" ]] && MANPATH="$GNU_TOOLS_MAN_PATH:$MANPATH"
|
||||
fi
|
||||
|
||||
[[ -d "$RBENV_PATH" ]] && PATH="$RBENV_PATH:$PATH"
|
||||
[[ -d "$NODENV_PATH" ]] && PATH="$NODENV_PATH:$PATH"
|
||||
[[ -d "$PERSONAL_BIN_PATH" ]] && PATH="$PERSONAL_BIN_PATH:$PATH"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue