diff options
author | Mahmoud Hossam <mahmoudhossam@users.noreply.github.com> | 2017-11-07 18:06:42 +0200 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2017-11-07 08:06:41 -0800 |
commit | ed85147e6e6cee9d030fd32f7643e5323a707cfc (patch) | |
tree | 1610474e7b2cb8d15561fafd9a6b3ad08a7c1b8a /plugins/ubuntu/ubuntu.plugin.zsh | |
parent | 5486aa21eb3e3a6068a814531799063280800c19 (diff) | |
download | zsh-ed85147e6e6cee9d030fd32f7643e5323a707cfc.tar.gz zsh-ed85147e6e6cee9d030fd32f7643e5323a707cfc.tar.bz2 zsh-ed85147e6e6cee9d030fd32f7643e5323a707cfc.zip |
Rename clashing ag alias (#5849)
* Fix ubuntu ag alias clashing with the silver searcher
* Add aliases for git apply and git merge --abort
Diffstat (limited to 'plugins/ubuntu/ubuntu.plugin.zsh')
-rw-r--r-- | plugins/ubuntu/ubuntu.plugin.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ubuntu/ubuntu.plugin.zsh b/plugins/ubuntu/ubuntu.plugin.zsh index eab2da409..ba7143687 100644 --- a/plugins/ubuntu/ubuntu.plugin.zsh +++ b/plugins/ubuntu/ubuntu.plugin.zsh @@ -28,7 +28,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 @@ -42,7 +42,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' |