diff --git a/shell/alias/git.sh b/shell/alias/git.sh index b1ebb60..5ce5859 100644 --- a/shell/alias/git.sh +++ b/shell/alias/git.sh @@ -152,19 +152,21 @@ gcpc() { "${@}" } -# configure the user name -alias gcun="\ -git \ -config \ -user.name \ -" - # configure the user email -alias gcue="\ -git \ -config \ -user.email \ -" +gcue() { + git \ + config \ + "user.email" \ + "${@}" +} + +# configure the user name +gcun() { + git \ + config \ + "user.name" \ + "${@}" +} # differences from last or between commits alias gd="\