diff options
Diffstat (limited to '.zsh/zshrc')
-rw-r--r-- | .zsh/zshrc/90_profiles | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/.zsh/zshrc/90_profiles b/.zsh/zshrc/90_profiles index aee9ee6..6086735 100644 --- a/.zsh/zshrc/90_profiles +++ b/.zsh/zshrc/90_profiles @@ -6,7 +6,7 @@ # # chpwd_profiles taken from grml zshrc # -# Copyright © 2010-2014 Tobias Klauser <tklauser@distanz.ch> +# Copyright © 2010-2015 Tobias Klauser <tklauser@distanz.ch> # Released under the terms of the Artistic Licence 2.0 # # Source repository: git://git.distanz.ch/dotfiles/zsh.git @@ -17,10 +17,7 @@ CHPWD_PROFILE='default' zstyle ':chpwd:profiles:/home/tklauser/src/nios2-linux(|/|/*)' profile distanz zstyle ':chpwd:profiles:/home/tklauser/src/linux-2.6(|/|/*)' profile distanz zstyle ':chpwd:profiles:*locomotor-primitives*' profile uzh -zstyle ':chpwd:profiles:/home/tklauser/projects/ines(|/|/*)' profile zhaw -zstyle ':chpwd:profiles:/home/tklauser/projects/sinet(|/|/*)' profile zhaw -zstyle ':chpwd:profiles:/home/tklauser/projects/hd_over_ip(|/|/*)' profile zhaw -zstyle ':chpwd:profiles:/home/tobiask/zi/(|/|/*)' profile zhinst +zstyle ':chpwd:profiles:/home/tobiask/zi/etzel(|/|/*)' profile zhinst chpwd_profile_distanz() { @@ -40,15 +37,6 @@ chpwd_profile_uzh() export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL" } -chpwd_profile_zhaw() -{ - [[ ${profile} == ${CHPWD_PROFILE} ]] && return 1 - print "chpwd(): Switching to profile: $profile" - - export GIT_AUTHOR_EMAIL="klto@zhaw.ch" - export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL" -} - chpwd_profile_zhinst() { [[ ${profile} == ${CHPWD_PROFILE} ]] && return 1 |