From 4c746b2173afc23200d41e59d5e483fe05596f3d Mon Sep 17 00:00:00 2001 From: Starfall Date: Wed, 22 Jul 2020 19:33:46 -0500 Subject: zsh, git: use gpg2 --- .config/git/config | 2 ++ .config/zsh/.zshrc | 4 ++++ 2 files changed, 6 insertions(+) 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 [WIDTH=4] function spacetotab () { -- cgit