bash add file existance before sourcing

This commit is contained in:
Pim Kunis 2023-02-11 22:43:56 +01:00
parent ea8341f088
commit 95fa8e2628

View file

@ -102,5 +102,5 @@ alias vim='nvim'
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
# asdf
. "$HOME/.asdf/asdf.sh"
. "$HOME/.asdf/completions/asdf.bash"
[ -f ~/.asdf/asdf.sh ] && source ~/.asdf/asdf.sh
[ -f ~/.asdf/completions/asdf.bash ] && source ~/.asdf/completions/asdf.bash