Make sure git config dir exists

This commit is contained in:
ViViDboarder 2023-03-08 15:00:37 -08:00
parent 1f77d0338a
commit f5b48fec1b

View File

@ -17,6 +17,7 @@ git config --global init.defaultBranch main
git config --global pull.ff only git config --global pull.ff only
# Create global ignore file # Create global ignore file
mkdir -p "$XDG_CONFIG_HOME/git"
try_link "exclude_global" "$XDG_CONFIG_HOME/git/exclude_global" try_link "exclude_global" "$XDG_CONFIG_HOME/git/exclude_global"
git config --global core.excludesfile "$XDG_CONFIG_HOME/git/exclude_global" git config --global core.excludesfile "$XDG_CONFIG_HOME/git/exclude_global"