configure full name and email
This commit is contained in:
parent
17ef24e460
commit
e014ff180f
@ -37,6 +37,7 @@
|
||||
!/.config/zsh/lib/history.zsh
|
||||
!/.config/zsh/lib/prompt.zsh
|
||||
!/.config/zsh/lib/pswalk.zsh
|
||||
!/.config/zsh/lib/say-my.zsh
|
||||
!/.config/zsh/lib/selfservice.zsh
|
||||
!/.config/zsh/lib/starship.zsh.sample
|
||||
!/.config/zsh/lib/time.zsh
|
||||
|
15
.config/zsh/lib/say-my.zsh
Normal file
15
.config/zsh/lib/say-my.zsh
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user