diff options
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -146,6 +146,8 @@ zstyle ':vcs_info:*' enable bzr git hg svn # tinyos directory specific configuration zstyle ':chpwd:profiles:/home/sre/src/tinyos(|/|/*)' profile tinyos +zstyle ':chpwd:profiles:/home/sre/src/tinyos-new(|/|/*)' profile tinyos_new +zstyle ':chpwd:profiles:/home/sre/uni/bachelor/ZEDDS(|/|/*)' profile tinyos_new chpwd_profile_tinyos() { [[ ${profile} == ${CHPWD_PROFILE} ]] && return 1 @@ -156,6 +158,15 @@ chpwd_profile_tinyos() { export MAKERULES="$TOSROOT/support/make/Makerules" } +chpwd_profile_tinyos_new() { + [[ ${profile} == ${CHPWD_PROFILE} ]] && return 1 + print "chpwd(): Switching to profile: $profile" + + export TOSROOT="/home/sre/src/tinyos-new" + export TOSDIR="$TOSROOT/tos" + export MAKERULES="$TOSROOT/support/make/Makerules" +} + chpwd_profile_default() { [[ ${profile} == ${CHPWD_PROFILE} ]] && return 1 print "chpwd(): Switching to profile: $profile" |