git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.bash/prompt.bash
diff options
context:
space:
mode:
authormail_redacted_for_web 2025-03-15 21:21:45 +0100
committermail_redacted_for_web 2025-03-15 21:21:45 +0100
commit705a4d60f230d06f5298a70851a2d42ae97be97b (patch)
treed82a528d3981594cc92582a519391a6d4197e1d4 /.bash/prompt.bash
parente334235dc8247ae0cff5626b1c83f0cca85a36a7 (diff)
downloaddotfiles-705a4d60f230d06f5298a70851a2d42ae97be97b.tar.bz2
Fix: more SunOS incompatibilities
Diffstat (limited to '.bash/prompt.bash')
-rw-r--r--.bash/prompt.bash2
1 files changed, 1 insertions, 1 deletions
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() {