From 4ca3cce4c1145597a47becb22f41090e6d4737c4 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Tue, 24 May 2022 12:44:43 -0500 Subject: [PATCH] add support for local aliases in .zshalias --- zsh/.zshrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index bc83e80..b52bfd9 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -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')"