diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2023-12-28 13:35:25 -0500 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2023-12-28 13:35:25 -0500 |
commit | 63a3e0854894e84663d9f3b11c5c3c18bc7c1a35 (patch) | |
tree | 0549295c02ad7260fef1905970f6b446c28a8391 | |
parent | d4775d06c87a284b8933634c205c9af11121e4d6 (diff) |
Add hacky script to refresh gpg before commiting
-rwxr-xr-x | .local/bin/cmt | 4 | ||||
-rw-r--r-- | .profile | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/.local/bin/cmt b/.local/bin/cmt new file mode 100755 index 0000000..0f52ad0 --- /dev/null +++ b/.local/bin/cmt @@ -0,0 +1,4 @@ +#!/bin/sh + +echo "test message" | gpg --pinentry-mode loopback --clearsign && git commit + @@ -20,8 +20,9 @@ export DISTRIB_RELEASE=$(uname -r) export XDG_CONFIG_HOME=$HOME/.config export XDG_DATA_HOME=$HOME/.local/share export R_PROFILE_USER=$HOME/.config/R/Rprofile -export ZDOTDIR=$HOME/.config/zsh +export ZDOTDIR=$XDG_CONFIG_HOME/zsh export TEXMFHOME=$XDG_DATA_HOME/texmf +export TEXSRC=$HOME/.local/src/sherbrooke-tex # Applications export EDITOR=$(which nvim) |