1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-11-17 17:03:32 +01:00

[bash] Leave empty if no hostname colouring

This commit is contained in:
Eric Teunis de Boone 2022-03-21 22:04:15 +01:00
parent 89463a215a
commit 6e86021e78

View file

@ -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