aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-09-22 15:35:11 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-09-22 15:35:11 +1200
commit57cce70f84d1cd236a8575d446fbfd01c98621ca (patch)
treed92399c3952d3b1e5c104965c4180e606669addc /sh
parentAttempt at terminal independence of prompt color (diff)
downloaddotfiles-57cce70f84d1cd236a8575d446fbfd01c98621ca.tar.gz
dotfiles-57cce70f84d1cd236a8575d446fbfd01c98621ca.zip
OpenBSD TERM hack no longer needed
Diffstat (limited to 'sh')
-rw-r--r--sh/profile.d/openbsd.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/sh/profile.d/openbsd.sh b/sh/profile.d/openbsd.sh
deleted file mode 100644
index 26023c43..00000000
--- a/sh/profile.d/openbsd.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-# OpenBSD systems don't handle 256 color terminals the way my Linux systems do,
-# 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, and also any -unicode suffix.
-if [ "$(uname -s)" = "OpenBSD" ]; then
- TERM=${TERM%-256color}
- TERM=${TERM%-unicode}
-fi
-