From d7053e47f1d08b1b1ae63a0a181510a9a69d7e87 Mon Sep 17 00:00:00 2001 From: Canux Date: Thu, 23 Feb 2017 12:53:02 +0800 Subject: [PATCH] fix alias conflict with command ag. As we know ag is the most usefull command, it's faster than ack2 and grep. So, I change the alias from ag to au, I think au is better for "sudo apt-get/aptitude upgrade". And let's use ag for the original command. --- plugins/debian/debian.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/debian/debian.plugin.zsh b/plugins/debian/debian.plugin.zsh index 28131ff8..19966b6a 100644 --- a/plugins/debian/debian.plugin.zsh +++ b/plugins/debian/debian.plugin.zsh @@ -50,7 +50,7 @@ if [[ $use_sudo -eq 1 ]]; then alias adg='sudo $apt_pref update && sudo $apt_pref $apt_upgr' alias adu='sudo $apt_pref update && sudo $apt_pref dist-upgrade' alias afu='sudo apt-file update' - alias ag='sudo $apt_pref $apt_upgr' + alias au='sudo $apt_pref $apt_upgr' alias ai='sudo $apt_pref install' # Install all packages given on the command line while using only the first word of each line: # acs ... | ail