From: Simon Ruderich Date: Tue, 29 Apr 2014 13:47:16 +0000 (+0200) Subject: zsh/rc: cleanup pdf compdefs X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=6b1905f1bf85390391785debd3041ae1b61f225d;p=config%2Fdotfiles.git zsh/rc: cleanup pdf compdefs --- diff --git a/zsh/rc b/zsh/rc index 04c99f2..aac4e9a 100644 --- a/zsh/rc +++ b/zsh/rc @@ -882,14 +882,14 @@ if (( $+commands[xpdf] )); then command xpdf "$@" 2>/dev/null & disown %command } - compdef _xpdf pdf + compdef pdf=xpdf elif (( $+commands[zathura] )); then pdf() { command zathura "$@" 2>/dev/null & disown %command } # No completion for zathura yet. - compdef _xpdf pdf + compdef pdf=xpdf fi # Better viewer for info pages .. just pipe everything into less.