mirror of https://github.com/kastdeur/dotfiles.git
[bash] Leave empty if no hostname colouring
This commit is contained in:
parent
89463a215a
commit
6e86021e78
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue