diff options
author | mail_redacted_for_web | 2025-03-15 21:21:45 +0100 |
---|---|---|
committer | mail_redacted_for_web | 2025-03-15 21:21:45 +0100 |
commit | 705a4d60f230d06f5298a70851a2d42ae97be97b (patch) | |
tree | d82a528d3981594cc92582a519391a6d4197e1d4 /.bash/prompt.bash | |
parent | e334235dc8247ae0cff5626b1c83f0cca85a36a7 (diff) | |
download | dotfiles-705a4d60f230d06f5298a70851a2d42ae97be97b.tar.bz2 |
Fix: more SunOS incompatibilities
Diffstat (limited to '.bash/prompt.bash')
-rw-r--r-- | .bash/prompt.bash | 2 |
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() { |