Refactor config.fish and sync script

- General style cleanups
- Change user bin from ~/bin to ~/.local/bin
- Add ssh-rm-host alias
- Add back function
This commit is contained in:
mitchell 2020-07-27 21:42:56 -04:00
parent 2643d75f63
commit c2b679b51d
2 changed files with 29 additions and 21 deletions

4
sync
View file

@ -39,11 +39,9 @@ read -l -p "set_color red; printf '\n$prompt (Y/n) '; set_color normal" set_git_
if test -z "$set_git_user"; or test "$set_git_user" = 'y'; or test "$set_git_user" = 'Y'
read -l -P 'name: ' name
git config --global user.name $name
read -l -P 'email: ' email
git config --global user.name $name
git config --global user.email $email
end