add support for local aliases in .zshalias

This commit is contained in:
John Bowdre 2022-05-24 12:44:43 -05:00
parent a0e3b641aa
commit 4ca3cce4c1

View file

@ -9,8 +9,14 @@ autoload -Uz compinit
compinit
PATH="$HOME/.local/bin:$PATH"
# Aliases
# Global aliases
alias ssh="TERM=xterm ssh"
alias sshpass="ssh -o PubkeyAuthentication=no"
# Import local aliases from ~/.zshalias, if present
if [ -f $HOME/.zshalias ]; then
source $HOME/.zshalias
fi
# Shell initializations
eval "$(oh-my-posh init zsh --config 'https://raw.githubusercontent.com/jbowdre/dotfiles/main/oh-my-posh/vpotato.minimal.omp.json')"