diff --git a/bash/bashrc.d/prompt_command.bash b/bash/bashrc.d/prompt_command.bash index 409e1d4..cc1a4ee 100644 --- a/bash/bashrc.d/prompt_command.bash +++ b/bash/bashrc.d/prompt_command.bash @@ -78,6 +78,8 @@ function __PS1_hostname() { if [ -n "${NOMATCH}" ]; then if [ x$(type -t "$func_extension") = xfunction ]; then NOMATCH=$($func_extension "$@") + else + NOMATCH="" fi # extended colouring