about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.config/git/config2
-rw-r--r--.config/zsh/.zshrc4
2 files changed, 6 insertions, 0 deletions
diff --git a/.config/git/config b/.config/git/config
index 8d4195c..c006c75 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -15,3 +15,5 @@
 	stashpull = !git stash && git pull && git stash pop
 	stat = status
 	tree = log --all --graph --oneline
+[gpg]
+	program = gpg2
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 () {