Avoid upgrade name conflict with the_silver_search
[`ag`](https://github.com/ggreer/the_silver_searcher) is a pretty popular `grep` alternative. To avoid name conflicts the upgrade alias here should be changed to `au`. I ran `apt-file search -x /bin/au$` and confirmed that Debian, in it's 40,000 or so packages, does not provide an `au` executable. Plus, `au` is better mnemonic for `apt-get`/`aptitude` `upgrade`/`safe-upgrade` than `ag`.
This commit is contained in:
parent
c82f49e734
commit
0d7fc5eaff
@ -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
|
||||
@ -85,7 +85,7 @@ else
|
||||
alias adg='su -lc \'$apt_pref update && aptitude $apt_upgr\' root'
|
||||
alias adu='su -lc \'$apt_pref update && aptitude dist-upgrade\' root'
|
||||
alias afu='su -lc "apt-file update"'
|
||||
alias ag='su -lc \'$apt_pref $apt_upgr\' root'
|
||||
alias au='su -lc \'$apt_pref $apt_upgr\' root'
|
||||
ai() {
|
||||
cmd="su -lc 'aptitude -P install $@' root"
|
||||
print "$cmd"
|
||||
|
Loading…
Reference in New Issue
Block a user