🐛 Fix gitconfig not being linked
This commit is contained in:
parent
b7e6d54f1c
commit
a00571bcd6
1 changed files with 2 additions and 5 deletions
|
@ -228,7 +228,7 @@ install_dotfiles()
|
||||||
local backup_all=false
|
local backup_all=false
|
||||||
local skip_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%.*}")"
|
dst="$HOME/$(basename "${src%.*}")"
|
||||||
link_file "$src" "$dst"
|
link_file "$src" "$dst"
|
||||||
done
|
done
|
||||||
|
@ -268,6 +268,7 @@ restart_os()
|
||||||
printf "\n"
|
printf "\n"
|
||||||
|
|
||||||
if answer_is_yes; then
|
if answer_is_yes; then
|
||||||
|
ask_for_sudo
|
||||||
sudo shutdown -r now &> /dev/null
|
sudo shutdown -r now &> /dev/null
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -298,10 +299,6 @@ main()
|
||||||
|
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
ask_for_sudo
|
|
||||||
|
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
||||||
|
|
||||||
# Check if this script was run directly, and if not, dotfiles will need to be
|
# Check if this script was run directly, and if not, dotfiles will need to be
|
||||||
# downloaded.
|
# downloaded.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue