1
1
Fork 0

Make GPG use XDG basedir - somewhat

This commit is contained in:
Jonathan Schleifer 2020-02-26 21:30:03 +00:00
parent df945fc92b
commit 3ce7aadf89
6 changed files with 7 additions and 5 deletions

View file

@ -14,8 +14,8 @@ link_file() {
mkdir -p $HOME/.config
which git >/dev/null 2>&1 && link_file git .config/git ../
if which gpg >/dev/null 2>&1 || which gpg2 >/dev/null 2>&1; then
mkdir -p $HOME/.gnupg
link_file gpg.conf .gnupg/gpg.conf ../
mkdir -p $HOME/.local/share/gnupg
link_file gpg.conf .local/share/gnupg/gpg.conf ../../../
fi
which tmux >/dev/null 2>&1 && link_file tmux.conf .tmux.conf
which vim >/dev/null 2>&1 && link_file vim .config/vim ../