Because of some other troubles in my bash configuration, I found that the semicolon ; in line 246 in z.sh seems to be misplaced.
My $PROMPT_COMMAND ends up being this:
history -a; history -n; _update_ps1 (_z --add "$(command pwd -P 2>/dev/null)" 2>/dev/null &);; printf "" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"
what breaks the command because of double ;;
Instead of this:
PROMPT_COMMAND="$PROMPT_COMMAND"$'\n''(_z --add "$(command pwd '$_Z_RESOLVE_SYMLINKS' 2>/dev/null)" 2>/dev/null &);'
I guess it should be this:
PROMPT_COMMAND="$PROMPT_COMMAND"$';\n''(_z --add "$(command pwd '$_Z_RESOLVE_SYMLINKS' 2>/dev/null)" 2>/dev/null &)'
Because of some other troubles in my bash configuration, I found that the semicolon
;
in line 246 inz.sh
seems to be misplaced.My $PROMPT_COMMAND ends up being this:
history -a; history -n; _update_ps1 (_z --add "$(command pwd -P 2>/dev/null)" 2>/dev/null &);; printf "" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"
what breaks the command because of double;;
Instead of this:
PROMPT_COMMAND="$PROMPT_COMMAND"$'\n''(_z --add "$(command pwd '$_Z_RESOLVE_SYMLINKS' 2>/dev/null)" 2>/dev/null &);'
I guess it should be this:PROMPT_COMMAND="$PROMPT_COMMAND"$';\n''(_z --add "$(command pwd '$_Z_RESOLVE_SYMLINKS' 2>/dev/null)" 2>/dev/null &)'