You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 &)'
The text was updated successfully, but these errors were encountered:
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 &)'
The text was updated successfully, but these errors were encountered: