zshrc: fix issue with paru alias

This commit is contained in:
psox 2022-11-10 18:29:26 +00:00
parent 43a20358cc
commit b95014ff08
1 changed files with 1 additions and 1 deletions

2
zshrc
View File

@ -196,7 +196,7 @@ alias curlj="curl -H 'Content-Type: application/json' "
which nvim >/dev/null 2>&1 && alias vim="$(which nvim)"
alias v=vim
[[ -x /usr/bin/yay ]] && [[ "$(whoami)" != "pacman" ]] && alias yay='sudo -iupacman /usr/bin/yay'
[[ -x /usr/bin/paru ]] && [[ "$(whoami)" != "pacman" ]] && alias yay='sudo -iupacman /usr/bin/paru'
[[ -x /usr/bin/paru ]] && [[ "$(whoami)" != "pacman" ]] && alias paru='sudo -iupacman /usr/bin/paru'
typeset -A key