mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-25 10:32:19 +00:00
add support for local aliases in .zshalias
This commit is contained in:
parent
a0e3b641aa
commit
4ca3cce4c1
1 changed files with 7 additions and 1 deletions
|
@ -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')"
|
||||
|
|
Loading…
Reference in a new issue