diff --git a/install/config/git.sh b/install/config/git.sh index 84e5bb6..4864a29 100755 --- a/install/config/git.sh +++ b/install/config/git.sh @@ -1,11 +1,8 @@ #!/bin/bash -# Create git config file under .config if it doesn't exist -# This helps to keep all our configs in one place -if [[ ! -f "~/.config/git/config" ]]; then - mkdir -p "~/.config/git" - touch "~/.config/git/config" -fi +# Ensure git settings live under ~/.config +mkdir -p ~/.config/git +touch ~/.config/git/config # Set common git aliases git config --global alias.co checkout