Make GPG use XDG basedir - somewhat
This commit is contained in:
parent
df945fc92b
commit
3ce7aadf89
6 changed files with 7 additions and 5 deletions
|
@ -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 ../
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue