🐛 Fix gitconfig not being linked

This commit is contained in:
Marley 2024-01-22 19:35:41 -08:00
parent b7e6d54f1c
commit a00571bcd6

View file

@ -228,7 +228,7 @@ install_dotfiles()
local backup_all=false
local skip_all=false
for src in $(find -H "$dotfiles_dir" -maxdepth 2 -name "*.symlink" -not -path "*.git*"); do
for src in $(find -H "$dotfiles_dir" -maxdepth 2 -name "*.symlink" -not -path ".git"); do
dst="$HOME/$(basename "${src%.*}")"
link_file "$src" "$dst"
done
@ -268,6 +268,7 @@ restart_os()
printf "\n"
if answer_is_yes; then
ask_for_sudo
sudo shutdown -r now &> /dev/null
fi
}
@ -298,10 +299,6 @@ main()
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ask_for_sudo
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Check if this script was run directly, and if not, dotfiles will need to be
# downloaded.