From 6b1905f1bf85390391785debd3041ae1b61f225d Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 29 Apr 2014 15:47:16 +0200 Subject: [PATCH] zsh/rc: cleanup pdf compdefs --- zsh/rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.44.1