Set some GIT environement variables for use with ssh -o 'SendEnv=GIT_*'
[abe:zshrc.git] / zsh.d / 95-git-env
1 # -*- sh -*-
2
3 export GIT_EDITOR=zile
4 export GIT_COMMITTER_NAME="Axel Beckert"
5 export GIT_AUTHOR_NAME="Axel Beckert"
6
7 case `hostname -f` in
8     metisse.ethz.ch|tux-nslu2.ethz.ch|kiva*.ethz.ch|*.deuxchevaux.org)
9         export GIT_COMMITTER_EMAIL="abe@deuxchevaux.org"
10         export GIT_AUTHOR_EMAIL="abe@deuxchevaux.org"
11         ;;
12     *.ethz.ch)
13         export GIT_COMMITTER_EMAIL="beckert@phys.ethz.ch"
14         export GIT_AUTHOR_EMAIL="beckert@phys.ethz.ch"
15         ;;
16     *)
17         export GIT_COMMITTER_EMAIL="abe@deuxchevaux.org"
18         export GIT_AUTHOR_EMAIL="abe@deuxchevaux.org"
19         ;;
20 esac