chore: update directory structure for gitconfig files
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CONFIG_DIR="$DOTFILES_INSTALL_DIR/.gitconfig.d/var"
|
||||
set -e
|
||||
|
||||
CONFIG_DIR="$DOTFILES_INSTALL_DIR/gitconfig.d/var"
|
||||
|
||||
echo
|
||||
echo "[+] Generating Gitconfig"
|
||||
@ -8,7 +10,7 @@ echo
|
||||
|
||||
rm -f "$HOME/.gitconfig"
|
||||
|
||||
cp "$DOTFILES_INSTALL_DIR/.gitconfig.d/base.gitconfig" "$HOME/.gitconfig"
|
||||
cp "$DOTFILES_INSTALL_DIR/gitconfig.d/base.gitconfig" "$HOME/.gitconfig"
|
||||
|
||||
for config in "$CONFIG_DIR"/*.gitconfig; do
|
||||
[ -e "$config" ] || continue
|
||||
|
Reference in New Issue
Block a user