From 3d6e41f78ee256388fe9ef56f08559cc2fe96cca Mon Sep 17 00:00:00 2001 From: pSox Date: Thu, 3 May 2018 16:34:13 +0100 Subject: [PATCH] fix yay alias --- zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 9910df5..01fe280 100755 --- a/zshrc +++ b/zshrc @@ -203,7 +203,7 @@ if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then zle -N zle-line-finish fi -[[ -x /usr/bin/yay ]] && [[ "$(whoami)" != "pacman" ]] && alias sudo -iupacman /usr/bin/yay +[[ -x /usr/bin/yay ]] && [[ "$(whoami)" != "pacman" ]] && alias yay='sudo -iupacman /usr/bin/yay' [[ -x /usr/bin/yaourt ]] && alias ypac='sudo -iupacman /usr/bin/yaourt ' [[ -d /opt/Komodo-IDE-10/bin ]] && path+=( /opt/Komodo-IDE-10/bin ) [[ -d /cygdrive/c/qemu/ ]] && path+=( /cygdrive/c/qemu/ )