diff options
author | Sebastian Reichel <sre@ring0.de> | 2012-05-14 03:50:51 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2012-05-14 03:50:51 +0200 |
commit | fd4bb8b38cf01eca73710f8c20fa07f88701a957 (patch) | |
tree | bab4a4218fd31e3617fcc5bf87edee3ac70bbba6 /zshrc | |
parent | 31c85791cef588393fb2efa6eadabdca68d0f671 (diff) | |
download | zsh-config-fd4bb8b38cf01eca73710f8c20fa07f88701a957.tar.bz2 |
add 2nd tinyos profile
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" |