diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-09-15 02:51:56 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-09-15 02:51:56 +1200 |
commit | 8d6fdde0629614d8e05751a695c1365c8555dc08 (patch) | |
tree | cb3e2fe8e81a2f2c48fc6dd5aead751e227936b9 /sh | |
parent | Darken xscreensaver a bit (diff) | |
download | dotfiles-8d6fdde0629614d8e05751a695c1365c8555dc08.tar.gz dotfiles-8d6fdde0629614d8e05751a695c1365c8555dc08.zip |
Chop off unicode suffix for OpenBSD TERM too
Diffstat (limited to 'sh')
-rw-r--r-- | sh/profile.d/openbsd.sh | 3 |
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 |