From 705a4d60f230d06f5298a70851a2d42ae97be97b Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Sat, 15 Mar 2025 21:21:45 +0100 Subject: Fix: more SunOS incompatibilities --- .bash/prompt.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.bash/prompt.bash') diff --git a/.bash/prompt.bash b/.bash/prompt.bash index 956b3b9..c54e8dc 100644 --- a/.bash/prompt.bash +++ b/.bash/prompt.bash @@ -141,7 +141,7 @@ fi UHSEP="@" [ -n "$TMUX_PANE" ]&&UHSEP="[T]" [ -n "$BYOBU_WINDOW_NAME" ]&&UHSEP="[B]" -[ "$(hostname -s)" == "monitoring" ]&&PHN="$(hostname -f)"||PHN="$(hostname -s)" +[ "$OSNAME" != 'sunos' ]&&[ "$(hostname -s)" == "monitoring" ]&&PHN="$(hostname -f)"||PHN="$(hostname -s)" # ----- ASSEMBLE THE PROMPT COMMAND ADDITION ----- # __prompt_command() { -- cgit v1.2.3