zshrc: improve error handling
This commit is contained in:
parent
2ebe2274e9
commit
ba8db67539
7
zshrc
7
zshrc
|
@ -122,7 +122,14 @@ export PATH=$HOME/bin:$PATH
|
||||||
export PATH=$HOME/.local/bin:$PATH
|
export PATH=$HOME/.local/bin:$PATH
|
||||||
export PATH=$HOME/script:$PATH
|
export PATH=$HOME/script:$PATH
|
||||||
|
|
||||||
|
# source local zshrc, if it exists (not: not in git)
|
||||||
|
if [ -f $ZDOTDIR/.zshrc.local ]; then
|
||||||
. $ZDOTDIR/.zshrc.local
|
. $ZDOTDIR/.zshrc.local
|
||||||
|
fi
|
||||||
|
|
||||||
# set up asdf
|
# set up asdf
|
||||||
|
if [ -f $HOME/.asdf/asdf.sh ]; then
|
||||||
. $HOME/.asdf/asdf.sh
|
. $HOME/.asdf/asdf.sh
|
||||||
|
else
|
||||||
|
echo "Warning: asdf not found, skipping"
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue