1
0

configure full name and email

This commit is contained in:
Konstantin Demin 2021-04-19 01:21:34 +03:00
parent 17ef24e460
commit e014ff180f
Signed by: krd
GPG Key ID: 1F33CB0BA4731BC6
2 changed files with 16 additions and 0 deletions

View File

@ -37,6 +37,7 @@
!/.config/zsh/lib/history.zsh !/.config/zsh/lib/history.zsh
!/.config/zsh/lib/prompt.zsh !/.config/zsh/lib/prompt.zsh
!/.config/zsh/lib/pswalk.zsh !/.config/zsh/lib/pswalk.zsh
!/.config/zsh/lib/say-my.zsh
!/.config/zsh/lib/selfservice.zsh !/.config/zsh/lib/selfservice.zsh
!/.config/zsh/lib/starship.zsh.sample !/.config/zsh/lib/starship.zsh.sample
!/.config/zsh/lib/time.zsh !/.config/zsh/lib/time.zsh

View File

@ -0,0 +1,15 @@
#!/bin/zsh
say_my_name() {
GIT_COMMITTER_NAME="$1"
GIT_AUTHOR_NAME="$1"
DEBFULLNAME="$1"
export GIT_COMMITTER_NAME GIT_AUTHOR_NAME DEBFULLNAME
}
say_my_email() {
GIT_COMMITTER_EMAIL="$1"
GIT_AUTHOR_EMAIL="$1"
DEBEMAIL="$1"
export GIT_COMMITTER_EMAIL GIT_AUTHOR_EMAIL DEBEMAIL
}