[ZSH] Add git variables
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
export PATH="/snap/bin:$HOME/.local/bin:$HOME/dotfiles/scripts:$PATH"
|
export PATH="/snap/bin:$HOME/.local/bin:$HOME/dotfiles/scripts:$PATH"
|
||||||
export XDG_CONFIG_HOME="$HOME/.config" # Fix nvim bug
|
export XDG_CONFIG_HOME="$HOME/.config" # Fix nvim bug
|
||||||
|
|
||||||
|
|
||||||
[[ -z $SSH_AUTH_SOCK ]] || export FORWARD_SOCK=$SSH_AUTH_SOCK
|
[[ -z $SSH_AUTH_SOCK ]] || export FORWARD_SOCK=$SSH_AUTH_SOCK
|
||||||
|
|
||||||
[[ -f ~/.zsh/.powerline_config ]] && source ~/.zsh/.powerline_config
|
[[ -f ~/.zsh/.powerline_config ]] && source ~/.zsh/.powerline_config
|
||||||
@@ -28,6 +29,10 @@ update_dotfiles() {
|
|||||||
|
|
||||||
if [ "$shared_config" -eq 0 ]; then
|
if [ "$shared_config" -eq 0 ]; then
|
||||||
update_dotfiles 2>&1 &!
|
update_dotfiles 2>&1 &!
|
||||||
|
export GIT_AUTHOR_NAME="Fabian Ising"
|
||||||
|
export GIT_AUTHOR_EMAIL="f.ising@fh-muenster.de"
|
||||||
|
export GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME
|
||||||
|
export GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user