diff --git a/fresh.sh b/fresh.sh index 4e153df..7d83177 100755 --- a/fresh.sh +++ b/fresh.sh @@ -205,10 +205,10 @@ set_pacman_config() { } set_git_config() { - git config --global user.email=philip.gaber@gmail.com - git config --global user.name=Toerd@$(hostname) - git config --global credential.useHttpPath true - git config --global credential.helper /usr/bin/pass-git-helper + sudo -u $uname git config --global user.email=philip.gaber@gmail.com + sudo -u $uname git config --global user.name=Toerd@$(hostname) + sudo -u $uname git config --global credential.useHttpPath true + sudo -u $uname git config --global credential.helper /usr/bin/pass-git-helper } set_system_stuff() {