}
+zstyle ':chpwd:profiles:'${HOME}'/debian(|/|/*)' profile debian
+zstyle ':chpwd:profiles:(|/|*)(varnish|libvmod)*(|/|/*)' profile varnish
+
+function chpwd_profile_varnish() {
+ [[ ${profile} == ${CHPWD_PROFILE} ]] && return 1
+ print "chpwd(): Switching to profile: $profile"
+ GIT_AUTHOR_EMAIL=tfheen@varnish-software.com
+}
+
+function chpwd_profile_default() {
+ [[ ${profile} == ${CHPWD_PROFILE} ]] && return 1
+ print "chpwd(): Switching to profile: $profile"
+ GIT_AUTHOR_EMAIL=tfheen@err.no
+}
+
+function chpwd_profile_debian() {
+ [[ ${profile} == ${CHPWD_PROFILE} ]] && return 1
+ print "chpwd(): Switching to profile: $profile"
+ GIT_AUTHOR_EMAIL=tfheen@err.no
+}
+
chpwd_functions=( ${chpwd_functions} chpwd_profiles )
+chpwd_profiles
fpath=( "$HOME/.zshfunc" "$fpath[@]" )
export FPATH
# Only unique entries please.