diff options
author | self <self@sateoki.xyz> | 2022-05-01 23:06:02 +0100 |
---|---|---|
committer | self <self@sateoki.xyz> | 2022-05-01 23:06:02 +0100 |
commit | 0163cb7b8779e9ad1fc9389958dcf141417bb08d (patch) | |
tree | 1bbf90cc06a82eb645d09084e7025bc7f6bbb51b /zsh | |
parent | ec0dd21e078601a07a0dd317e4ae6145e87d241d (diff) |
Aliases/envvars to move gnupg from homedir
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zshenv | 1 | ||||
-rw-r--r-- | zsh/.zshrc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/zsh/.zshenv b/zsh/.zshenv index 2aefcc2..d7d31ba 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -16,6 +16,7 @@ export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv export GOPATH="$XDG_DATA_HOME"/go export LESSHISTFILE=/dev/null +export GNUPGHOME="$XDG_DATA_HOME"/gnupg # ZSH Directories export ZDOTDIR=$XDG_CONFIG_HOME/zsh @@ -27,6 +27,7 @@ autoload -U promptinit && promptinit ########## Reducing clutter in home directory ########## alias feh="feh --no-fehbg" alias newsboat="newsboat -u ~/.config/newsboat/urls" +alias gpg2="gpg2 --homedir $XDG_DATA_HOME/gnupg" # TODO: add all XDG directories in the right places, and then run the commands # as per the SO post: https://stackoverflow.com/questions/26198926/why-does-lesshst-keep-showing-up-in-my # to get rid of .lesshst file and where man creates it as well |