about summary refs log tree commit diff
path: root/.config/zsh/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh/.zshrc')
-rw-r--r--.config/zsh/.zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 584ef80..88ae0b8 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -83,6 +83,10 @@ alias config='git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
 alias ll='ls -l --almost-all --no-group --human-readable'
 alias mkdir='mkdir -p'
 
+if command -v gpg2 &> /dev/null; then
+	alias gpg='gpg2'
+fi
+
 # collapse spaces into tabs in-place
 # spacetotab <FILE> [WIDTH=4]
 function spacetotab () {