Add git env variables to shell_profile
This commit is contained in:
parent
2a48f15fe0
commit
3b38b422f2
1 changed files with 5 additions and 0 deletions
|
@ -7,6 +7,11 @@ export SUDO_EDITOR="$EDITOR"
|
|||
export TERMINAL="terminator"
|
||||
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
|
||||
|
||||
export GIT_AUTHOR_NAME=$(/usr/bin/git config user.name)
|
||||
export GIT_AUTHOR_EMAIL=$(/usr/bin/git config user.email)
|
||||
export GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME
|
||||
export GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
|
||||
|
||||
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
|
||||
exec startx
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue