Skip to content

Commit

Permalink
Build .gitconfig-user
Browse files Browse the repository at this point in the history
  • Loading branch information
wrp committed Oct 27, 2021
1 parent f627782 commit 3b4edba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions setup
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,11 @@ for file in $files; do
|| ln -sf "$base/$file" .${file#.} \
|| die
done
if ! test -f $HOME/.gitconfig-user; then
sed 's/.//' >> $HOME/.gitconfig-user << EOF
[user]
email = ${EMAIL?}
name = ${NAME?}
EOF
fi

0 comments on commit 3b4edba

Please sign in to comment.