git send-email config
This commit is contained in:
parent
a885d09805
commit
853bbd88ee
2 changed files with 21 additions and 10 deletions
|
@ -1,17 +1,25 @@
|
||||||
[user]
|
[user]
|
||||||
email = mail@mzhang.io
|
email = mail@mzhang.io
|
||||||
name = Michael Zhang
|
name = Michael Zhang
|
||||||
signingkey = 925ECC02890D5CDAE26180D4BDA47A31A3C8EE6B
|
signingkey = 925ECC02890D5CDAE26180D4BDA47A31A3C8EE6B
|
||||||
|
|
||||||
[alias]
|
[alias]
|
||||||
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
|
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
|
||||||
pushpr = "!f() { git push origin master;git commit --allow-empty -m 'push to execute post-receive';git push origin master; }; f"
|
pushpr = "!f() { git push origin master;git commit --allow-empty -m 'push to execute post-receive';git push origin master; }; f"
|
||||||
|
|
||||||
[pull]
|
[pull]
|
||||||
rebase = true
|
rebase = true
|
||||||
|
|
||||||
[commit]
|
[commit]
|
||||||
gpgsign = true
|
gpgsign = true
|
||||||
|
|
||||||
|
[sendemail]
|
||||||
|
smtpServer = mzhang.io
|
||||||
|
smtpServerPort = 465
|
||||||
|
smtpUser = mail@mzhang.io
|
||||||
|
smtpPass = {{ pass "email/mail@mzhang.io" }}
|
||||||
|
smtpEncryption = ssl
|
||||||
|
confirm = auto
|
||||||
|
|
||||||
# vim: set filetype=gitconfig:
|
# vim: set filetype=gitconfig:
|
||||||
|
|
||||||
|
|
13
dot_zshrc
13
dot_zshrc
|
@ -2,17 +2,20 @@ source $HOME/.local/scripts/zsh/zsh-prelude.zsh
|
||||||
source $HOME/.local/scripts/zsh/check-update.zsh
|
source $HOME/.local/scripts/zsh/check-update.zsh
|
||||||
|
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
|
|
||||||
|
# oh-my-zsh
|
||||||
export ZSH="$HOME/.oh-my-zsh"
|
export ZSH="$HOME/.oh-my-zsh"
|
||||||
ZSH_THEME="ys"
|
ZSH_THEME="ys"
|
||||||
|
plugins=(
|
||||||
plugins=(git zsh-syntax-highlighting)
|
git
|
||||||
|
zsh-syntax-highlighting
|
||||||
|
)
|
||||||
|
export DISABLE_AUTO_UPDATE="true"
|
||||||
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
# options
|
# options
|
||||||
setopt HIST_IGNORE_SPACE
|
setopt HIST_IGNORE_SPACE
|
||||||
|
|
||||||
export DISABLE_AUTO_UPDATE="true"
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
|
||||||
|
|
||||||
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||||
# export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src"
|
# export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src"
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
|
|
Loading…
Reference in a new issue