aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sh/profile.d/openbsd.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sh/profile.d/openbsd.sh b/sh/profile.d/openbsd.sh
index 03e2217c..26023c43 100644
--- a/sh/profile.d/openbsd.sh
+++ b/sh/profile.d/openbsd.sh
@@ -2,8 +2,9 @@
# seeming to be inconsistent about e.g. the correct number of parameters for
# `tput setaf ...` -- I don't know which of them is right but for the moment
# I'm siding with Linux. This chops off any -256color suffix to the terminal
-# name.
+# name, and also any -unicode suffix.
if [ "$(uname -s)" = "OpenBSD" ]; then
TERM=${TERM%-256color}
+ TERM=${TERM%-unicode}
fi