summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zsh/zshrc/90_profiles16
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