From 3b3f002528facd14869818179d0a8ab7e4b68eea Mon Sep 17 00:00:00 2001 From: David Alexander Majnemer Date: Tue, 25 Nov 2008 23:46:15 -0600 Subject: [PATCH] hooray for getting xterm-256color to work on Solaris 5 --- zshrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zshrc b/zshrc index 8babb97..74bf656 100644 --- a/zshrc +++ b/zshrc @@ -116,6 +116,12 @@ case `uname -s` in elif (which glocate &> /dev/null) ; then alias locate='glocate' fi + + # sorta hacky, but I cannot find a better way to do this :/ + if [[ `which infocmp` = /opt/csw/bin/infocmp ]] ; then + export TERMINFO=/opt/csw/share/terminfo + export TERM=$TERM + fi ;; esac