zsh: open any PDF with zathura

This commit is contained in:
Tom Willemsen 2013-02-15 00:31:56 +01:00
parent 978b30e663
commit 2c5099ea7b

3
.zshrc
View file

@ -31,6 +31,9 @@ alias less=$LESSCMD
alias ls="ls -F --color=always" alias ls="ls -F --color=always"
alias mysql="mysql --pager" alias mysql="mysql --pager"
# Suffix aliases
alias -s pdf="zathura"
setopt notify setopt notify
setopt PROMPT_SUBST # Allow for functions in the prompt setopt PROMPT_SUBST # Allow for functions in the prompt
setopt EXTENDED_GLOB setopt EXTENDED_GLOB