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.
This commit is contained in:
Canux 2017-02-23 12:53:02 +08:00 committed by GitHub
parent 98d8d3429f
commit d7053e47f1

View File

@ -50,7 +50,7 @@ if [[ $use_sudo -eq 1 ]]; then
alias adg='sudo $apt_pref update && sudo $apt_pref $apt_upgr' alias adg='sudo $apt_pref update && sudo $apt_pref $apt_upgr'
alias adu='sudo $apt_pref update && sudo $apt_pref dist-upgrade' alias adu='sudo $apt_pref update && sudo $apt_pref dist-upgrade'
alias afu='sudo apt-file update' 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' alias ai='sudo $apt_pref install'
# Install all packages given on the command line while using only the first word of each line: # Install all packages given on the command line while using only the first word of each line:
# acs ... | ail # acs ... | ail