diff options
-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 ;; |