summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2013-02-15 00:31:56 +0100
committerGravatar Tom Willemsen2013-02-15 00:31:56 +0100
commit2c5099ea7bbdc6899166e564b39862ed5af6fdc4 (patch)
tree6e60ce5679052700e87151b2dc2c233fde9f960f
parent978b30e663f735176d55370b7924370ae063fa56 (diff)
downloaddotfiles-2c5099ea7bbdc6899166e564b39862ed5af6fdc4.tar.gz
dotfiles-2c5099ea7bbdc6899166e564b39862ed5af6fdc4.zip
zsh: open any PDF with zathura
-rw-r--r--.zshrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index a25a331..1d167ee 100644
--- a/.zshrc
+++ b/.zshrc
@@ -31,6 +31,9 @@ alias less=$LESSCMD
alias ls="ls -F --color=always"
alias mysql="mysql --pager"
+# Suffix aliases
+alias -s pdf="zathura"
+
setopt notify
setopt PROMPT_SUBST # Allow for functions in the prompt
setopt EXTENDED_GLOB