This commit is contained in:
Evgeniy Alexeev 2014-01-08 03:24:54 -08:00
commit c95ecfb4df
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ _yaourt_completions_repositories() {
# $cmd must be declared by calling function
_yaourt_get_command() {
# this is mostly nicked from _perforce
cmd=( "pacman" )
cmd=$(grep ^PACMAN= /etc/yaourtrc | cut -c8- || echo "pacman")
integer i
for (( i = 2; i < CURRENT - 1; i++ )); do
if [[ ${words[i]} = "--config" || ${words[i]} = "--root" ]]; then