chore(zsh): cleanup
This commit is contained in:
parent
b1fd7b3ac6
commit
08963eef2d
6
zshenv
6
zshenv
|
@ -30,6 +30,12 @@ export FAST_REFRESH=false
|
|||
# k8s
|
||||
export KUBECONFIG=$HOME/.kube/config:$HOME/.kube/config-do
|
||||
|
||||
if [ "$(uname -s)" = "Darwin" ]; then
|
||||
# brew
|
||||
export HOMEBREW_NO_INSTALL_CLEANUP=1
|
||||
export HOMEBREW_NO_AUTO_UPDATE=1
|
||||
fi
|
||||
|
||||
# See `installdotfiles`:
|
||||
if [ -f "$ZDOTDIR/.zshsecrets" ]; then
|
||||
source "$ZDOTDIR/.zshsecrets"
|
||||
|
|
10
zshrc
10
zshrc
|
@ -166,6 +166,16 @@ export PATH=$HOME/bin:$PATH
|
|||
export PATH=$HOME/.local/bin:$PATH
|
||||
export PATH=$HOME/script:$PATH
|
||||
|
||||
if [ "$(uname -s)" = "Darwin" ]; then
|
||||
if [ -d /opt/homebrew/bin ]; then
|
||||
export PATH=/opt/homebrew/bin:$PATH
|
||||
fi
|
||||
if [ -d /opt/homebrew/opt/curl/bin ]; then
|
||||
export PATH="/opt/homebrew/opt/curl/bin:$PATH"
|
||||
fi
|
||||
export PATH="/Applications/Postgres.app/Contents/Versions/16/bin:$PATH"
|
||||
fi
|
||||
|
||||
export VIMPLUGIN="$HOME/.vim/pack/git-plugins"
|
||||
|
||||
# source local zshrc, if it exists (not: not in git)
|
||||
|
|
Loading…
Reference in New Issue