add GIT-variables to tempconfig for sshs
This commit is contained in:
parent
5f7b354032
commit
aebd1123cd
1 changed files with 8 additions and 0 deletions
|
@ -12,4 +12,12 @@ fi
|
|||
|
||||
export WORK=~/Work
|
||||
|
||||
[ -z "${USERNAME+x}" ] && USERNAME="$USER"
|
||||
[ -z "${USEREMAIL+x}" ] && USEREMAIL="$USER@$(domainname -d)"
|
||||
[ -z "${FULLNAME+x}" ] && FULLNAME="$(getent passwd $USER | cut -d ":" -f 5 | cut -d ',' -f 1)"
|
||||
[ -z "${GIT_AUTHOR_NAME+x}" ] && GIT_AUTHOR_NAME=$FULLNAME
|
||||
[ -z "${GIT_AUTHOR_EMAIL+x}" ] && GIT_AUTHOR_EMAIL=$USEREMAIL
|
||||
[ -z "${GIT_COMMITTER_NAME+x}" ] && GIT_COMMITTER_NAME=$FULLNAME
|
||||
[ -z "${GIT_COMMITTER_EMAIL+x}" ] && GIT_COMMITTER_EMAIL=$USEREMAIL
|
||||
|
||||
turnoffbeep
|
||||
|
|
Loading…
Reference in a new issue