From: Samir Benmendil Date: Tue, 22 Apr 2014 23:57:26 +0000 (+0100) Subject: zsh: add compdef for paci X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/5774a9d804cb050e16f9e74d486d45c4f45f908a zsh: add compdef for paci --- diff --git a/zsh/aliases/pacman.zsh b/zsh/aliases/pacman.zsh index 4f662db..d2ef8f8 100644 --- a/zsh/aliases/pacman.zsh +++ b/zsh/aliases/pacman.zsh @@ -35,6 +35,8 @@ paci() { fi done } +# will only work after another pacman completion has been called first +compdef '_pacman_completions_all_packages' paci=pacman pacdisowned() { tmp=${TMPDIR-/tmp}/pacman-disowned-$UID-$$