about summary refs log tree commit diff
path: root/.config/zsh/.zshrc
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2020-07-22 19:33:46 -0500
committerStarfall <us@starfall.systems>2020-07-22 19:40:07 -0500
commit4c746b2173afc23200d41e59d5e483fe05596f3d (patch)
treebb6afb4ed46cb476f43d6a93e4688a269a14854e /.config/zsh/.zshrc
parent8efa34153f3eb1ebc87d037e6fde3c38b59b9c2d (diff)
zsh, git: use gpg2
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 () {