From 8d6fdde0629614d8e05751a695c1365c8555dc08 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 15 Sep 2013 02:51:56 +1200 Subject: Chop off unicode suffix for OpenBSD TERM too --- sh/profile.d/openbsd.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sh') 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 -- cgit v1.2.3