diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-10-19 14:14:08 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2017-10-19 14:14:08 +0200 |
commit | dcaa634279385cfca633c9b52af5f96ecc7bb040 (patch) | |
tree | c7e2d1e038d53fc7348be23f031c3fed75a019d3 /.zsh/zshrc | |
parent | cda90cf9468df71207cbfe7c9a82b861e3982479 (diff) |
zshrc: clean up profiles
Diffstat (limited to '.zsh/zshrc')
-rw-r--r-- | .zsh/zshrc/90_profiles | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/.zsh/zshrc/90_profiles b/.zsh/zshrc/90_profiles index 53a608d..33c6a23 100644 --- a/.zsh/zshrc/90_profiles +++ b/.zsh/zshrc/90_profiles @@ -10,16 +10,15 @@ # Released under the terms of the Artistic Licence 2.0 # # Source repository: git://git.distanz.ch/dotfiles/zsh.git -# CHPWD_PROFILE='default' -zstyle ':chpwd:profiles:/home/tklauser/go(|/|/*)' profile distanz -zstyle ':chpwd:profiles:/home/tobiask/go(|/|/*)' profile distanz +zstyle ':chpwd:profiles:/home/tklauser/go(|/|/*)' profile distanz +zstyle ':chpwd:profiles:/home/tobiask/go(|/|/*)' profile distanz zstyle ':chpwd:profiles:/home/tklauser/src(|/|/*)' profile distanz zstyle ':chpwd:profiles:/home/tobiask/src(|/|/*)' profile distanz -zstyle ':chpwd:profiles:*locomotor-primitives*' profile uzh zstyle ':chpwd:profiles:/home/tobiask/zi(|/|/*)' profile zhinst +zstyle ':chpwd:profiles:/scratch/tobiask/zi(|/|/*)' profile zhinst chpwd_profile_distanz() { @@ -30,15 +29,6 @@ chpwd_profile_distanz() export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL" } -chpwd_profile_uzh() -{ - [[ ${profile} == ${CHPWD_PROFILE} ]] && return 1 - print "chpwd(): Switching to profile: $profile" - - export GIT_AUTHOR_EMAIL="tobias.klauser@uzh.ch" - export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL" -} - chpwd_profile_zhinst() { [[ ${profile} == ${CHPWD_PROFILE} ]] && return 1 |