Make Git use XDG basedir
This commit is contained in:
parent
2b618fcb47
commit
df945fc92b
2 changed files with 1 additions and 1 deletions
|
@ -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 ../
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue