mirror of
https://github.com/kastdeur/dotfiles.git
synced 2024-12-22 09:13:33 +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 [ -n "${NOMATCH}" ]; then
|
||||||
if [ x$(type -t "$func_extension") = xfunction ]; then
|
if [ x$(type -t "$func_extension") = xfunction ]; then
|
||||||
NOMATCH=$($func_extension "$@")
|
NOMATCH=$($func_extension "$@")
|
||||||
|
else
|
||||||
|
NOMATCH=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# extended colouring
|
# extended colouring
|
||||||
|
|
Loading…
Reference in a new issue