소스 검색

[pacman] add yay to SUID handling AUR helpers

Closes #279
Sebastian Stammler 6 년 전
부모
커밋
236eb14d59
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      modules/pacman/init.zsh

+ 2 - 2
modules/pacman/init.zsh

@@ -24,8 +24,8 @@ elif (( ! ${+commands[${zpacman_frontend}]} )); then
 You can fix this error by editing the 'zpacman_frontend' variable in your .zimrc" >&2
   zpacman_frontend='pacman'
   zpacman_frontend_priv='sudo pacman'
-elif [[ ${zpacman_frontend} == ("yaourt"|"pacaur") ]]; then
-  # yaourt and pacaur handles SUID themselves
+elif [[ ${zpacman_frontend} == ("yaourt"|"pacaur"|"yay") ]]; then
+  # those AUR helpers handle SUID themselves
   zpacman_frontend_priv="${zpacman_frontend}"
 else
   zpacman_frontend_priv="sudo ${zpacman_frontend}"