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:
parent
89463a215a
commit
6e86021e78
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue