1
1
Fork 0

Make Git use XDG basedir

This commit is contained in:
Jonathan Schleifer 2020-02-26 21:18:35 +00:00
parent 2b618fcb47
commit df945fc92b
2 changed files with 1 additions and 1 deletions

View file

@ -12,7 +12,7 @@ link_file() {
} }
mkdir -p $HOME/.config mkdir -p $HOME/.config
which git >/dev/null 2>&1 && link_file gitconfig .gitconfig 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 if which gpg >/dev/null 2>&1 || which gpg2 >/dev/null 2>&1; then
mkdir -p $HOME/.gnupg mkdir -p $HOME/.gnupg
link_file gpg.conf .gnupg/gpg.conf ../ link_file gpg.conf .gnupg/gpg.conf ../