From a817d006edb96c3fc38fd0d6cd0e366ede802219 Mon Sep 17 00:00:00 2001 From: Jose Victor Herrera Date: Sun, 18 Apr 2021 07:23:48 -0700 Subject: [PATCH] Fix output of unrenderable chars, brujoand/sbp#82 (#110) --- sbp.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbp.bash b/sbp.bash index 8dca2b6..cd17fde 100644 --- a/sbp.bash +++ b/sbp.bash @@ -50,6 +50,6 @@ _sbp_pre_exec() { } # shellcheck disable=SC2034 -PS0="\[\$(_sbp_pre_exec)\]" +PS0="\$(_sbp_pre_exec)" [[ "$PROMPT_COMMAND" =~ _sbp_set_prompt ]] || PROMPT_COMMAND="_sbp_set_prompt;$PROMPT_COMMAND"