mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-17 12:27:22 +00:00
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:
parent
2643d75f63
commit
c2b679b51d
2 changed files with 29 additions and 21 deletions
4
sync
4
sync
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue