dotfiles/zshrc: check if asdf.sh exists
This exists on Arch, but not if I'm running the dotfiles on some random server.
This commit is contained in:
parent
dd44606a6f
commit
144e015223
@ -46,7 +46,9 @@ if [[ "$OSTYPE" =~ ^linux.*$ ]]; then
|
||||
fi
|
||||
|
||||
# Enable asdf version manager zsh completions
|
||||
. /opt/asdf-vm/asdf.sh
|
||||
if [[ -f /opt/asdf-vm/asdf.sh ]]; then
|
||||
. /opt/asdf-vm/asdf.sh
|
||||
fi
|
||||
|
||||
alias ls='ls -F --color=auto'
|
||||
alias less='less -R' # preserves colors in GNU coreutils' `less`
|
||||
|
Loading…
Reference in New Issue
Block a user