diff options
author | Carlo Sala <carlosalag@protonmail.com> | 2022-10-01 11:21:19 +0200 |
---|---|---|
committer | Marc Cornellà <hello@mcornella.com> | 2022-10-18 19:04:06 +0200 |
commit | 818f3de1fa6588a94bf207766a811992e301acf1 (patch) | |
tree | e59f752a9bf1d0e9baaf72138ab57993c6e9ae13 /plugins/debian/debian.plugin.zsh | |
parent | 65a1e4edbe678cdac37ad96ca4bc4f6d77e27adf (diff) | |
download | zsh-818f3de1fa6588a94bf207766a811992e301acf1.tar.gz zsh-818f3de1fa6588a94bf207766a811992e301acf1.tar.bz2 zsh-818f3de1fa6588a94bf207766a811992e301acf1.zip |
fix(debian)!: remove ar alias
BREAKING CHANGE: This alias needs to be removed because is shadowing
`ar` archiver.
Closes #9304
Diffstat (limited to 'plugins/debian/debian.plugin.zsh')
-rw-r--r-- | plugins/debian/debian.plugin.zsh | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/debian/debian.plugin.zsh b/plugins/debian/debian.plugin.zsh index f649a5b16..2d8c4666e 100644 --- a/plugins/debian/debian.plugin.zsh +++ b/plugins/debian/debian.plugin.zsh @@ -55,7 +55,6 @@ if [[ $use_sudo -eq 1 ]]; then alias ail="sed -e 's/ */ /g' -e 's/ *//' | cut -s -d ' ' -f 1 | xargs sudo $apt_pref install" alias ap="sudo $apt_pref purge" - alias ar="sudo $apt_pref remove" alias aar="sudo $apt_pref autoremove" # apt-get only @@ -98,11 +97,6 @@ else print "$cmd" eval "$cmd" } - function ar() { - cmd="su -lc '$apt_pref remove $@' root" - print "$cmd" - eval "$cmd" - } function aar() { cmd="su -lc '$apt_pref autoremove $@' root" print "$cmd" @@ -147,7 +141,6 @@ apt_pref_compdef au "$apt_upgr" apt_pref_compdef ai "install" apt_pref_compdef ail "install" apt_pref_compdef ap "purge" -apt_pref_compdef ar "remove" apt_pref_compdef aar "autoremove" apt_pref_compdef ads "dselect-upgrade" |