aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2017-03-08 19:23:17 +0100
committerDavid Runge <dave@sleepmap.de>2017-03-08 19:23:17 +0100
commit22360b18c4c41d62152b30294b350d25511472e9 (patch)
tree29971dd967e2d896918c4aebfb2f567b409af27b
parent43e107c52916ac4e2b8bfdbe83e2659d917a8869 (diff)
downloaddotfiles-22360b18c4c41d62152b30294b350d25511472e9.tar.gz
dotfiles-22360b18c4c41d62152b30294b350d25511472e9.tar.bz2
dotfiles-22360b18c4c41d62152b30294b350d25511472e9.tar.xz
dotfiles-22360b18c4c41d62152b30294b350d25511472e9.zip
.zsh.after/functions.zsh: Adding support to export .asc files using gpg within ex().
-rw-r--r--.zsh.after/functions.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/.zsh.after/functions.zsh b/.zsh.after/functions.zsh
index 5be8e73..b089ff6 100644
--- a/.zsh.after/functions.zsh
+++ b/.zsh.after/functions.zsh
@@ -149,6 +149,9 @@ ex() {
*.gpg)
gpg -o ${1%".gpg"} -d $1
;;
+ *.asc)
+ gpg -o ${1%".asc"} -d $1
+ ;;
*.gz)
gunzip $1
;;