diff options
author | David Runge <david.runge@frqrec.com> | 2014-12-08 19:06:41 +0100 |
---|---|---|
committer | David Runge <david.runge@frqrec.com> | 2014-12-08 19:06:41 +0100 |
commit | 8ebbf471ee97ccc85cbee5a482e5f08296df74ac (patch) | |
tree | afb6dd562e856c6ec13225dc643bc43924ddcf2f | |
parent | c514adb92e6a289e604f5a38aaea9f39fab59710 (diff) | |
download | dotfiles-8ebbf471ee97ccc85cbee5a482e5f08296df74ac.tar.gz dotfiles-8ebbf471ee97ccc85cbee5a482e5f08296df74ac.tar.bz2 dotfiles-8ebbf471ee97ccc85cbee5a482e5f08296df74ac.tar.xz dotfiles-8ebbf471ee97ccc85cbee5a482e5f08296df74ac.zip |
functions.zsh: Adding gpg to ex function.
-rw-r--r-- | .zsh.after/functions.zsh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.zsh.after/functions.zsh b/.zsh.after/functions.zsh index 14d133d..c19f7ad 100644 --- a/.zsh.after/functions.zsh +++ b/.zsh.after/functions.zsh @@ -203,6 +203,8 @@ if [ -f $1 ] ; then *.tar.gz) tar xvzf $1 ;; *.bz2) bunzip2 $1 ;; *.rar) unrar x $1 ;; + *.pgp) gpg -o ${1%".pgp"} -d $1 ;; + *.gpg) gpg -o ${1%".gpg"} -d $1 ;; *.gz) gunzip $1 ;; *.tar) tar xvf $1 ;; *.tbz2) tar xvjf $1 ;; |