And make sure that the path in which zsh(1) itself resides is included
in the search path ($PATH). This can become relevant on Cygwin for
example ...
return 0
}
+# Make sure that "my" (=ZSH) directory is in the search path ...
+_p="${0:h}"
+[[ "$_p" != "." ]] && PATH="${0:h}:$PATH"
+unset _p
+
+# Make sure that "SHELL" variable is set and exported
+[[ -n "$SHELL" ]] || export SHELL=$(command -v zsh)
+
# Make sure that "AXZSH" variable is set and exported
if [[ -z "$AXZSH" ]]; then
export AXZSH="$HOME/.axzsh"