From f3b9b16bc2dbe86c911030a2906fc107ad9645c5 Mon Sep 17 00:00:00 2001 From: Mahmoud Hossam Date: Sun, 5 Feb 2017 09:44:43 +0200 Subject: [PATCH] Fix ubuntu ag alias clashing with the silver searcher --- plugins/ubuntu/ubuntu.plugin.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/ubuntu/ubuntu.plugin.zsh b/plugins/ubuntu/ubuntu.plugin.zsh index 60ff0457f..1a758b494 100644 --- a/plugins/ubuntu/ubuntu.plugin.zsh +++ b/plugins/ubuntu/ubuntu.plugin.zsh @@ -27,7 +27,7 @@ compdef _afu afu='sudo apt-file update' alias ppap='sudo ppa-purge' compdef _ppap ppap='sudo ppa-purge' -alias ag='sudo apt-get' # age - but without sudo +alias apg='sudo apt-get' # age - but without sudo alias aga='sudo apt-get autoclean' # aac alias agb='sudo apt-get build-dep' # abd alias agc='sudo apt-get clean' # adc @@ -41,7 +41,7 @@ alias agug='sudo apt-get upgrade' # ag alias aguu='sudo apt-get update && sudo apt-get upgrade' #adg alias agar='sudo apt-get autoremove' -compdef _ag ag='sudo apt-get' +compdef _ag apg='sudo apt-get' compdef _aga aga='sudo apt-get autoclean' compdef _agb agb='sudo apt-get build-dep' compdef _agc agc='sudo apt-get clean'