X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/9a1960b5edade792e0d4d9a8c8e0630e774affc5..ce0a0c5d7508416fb022de084ba66732cfeb1ced:/.zsh/rcsstub?ds=sidebyside diff --git a/.zsh/rcsstub b/.zsh/rcsstub index b7c3f83..60beecb 100644 --- a/.zsh/rcsstub +++ b/.zsh/rcsstub @@ -1,6 +1,6 @@ -# .zshenv +# rcsstub # -# Actual .zshenv file +# Stub for all .z* files; actual content comes from a directory # # Copyright © 1994–2008 martin f. krafft # Released under the terms of the Artistic Licence 2.0 @@ -12,13 +12,13 @@ . $ZDOTDIR/util if [[ -o rcs ]]; then - __do_debug && set -x + __do_debug && set -x || : - file="$(print -P %1N)" + file="%1N"; file="${(%)file}" . $ZDOTDIR/sourcedir sourcedir $ZDOTDIR/${file#.} - __do_debug && set +x + __do_debug && set +x || : fi # vim:ft=zsh