diff options
Diffstat (limited to 'shell/colors')
| -rw-r--r-- | shell/colors | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/shell/colors b/shell/colors deleted file mode 100644 index 489179f..0000000 --- a/shell/colors +++ /dev/null @@ -1,38 +0,0 @@ - -setcolorterminal() { - case $TERM in - xterm-kitty) - # Prevent xterm-kitty from being turned into xterm-256color - return; - ;; - xterm*) - export TERM=xterm-256color - # printf $'\033]0;'"$(hostname)"$'\007'; - ;; - screen*) - export TERM=screen-256color - # printf $'\033k'"$(whoami)"$'\033\\'; - ;; - esac -} - -setlscolors() { - if [ "$(uname)" = "Linux" ] ; then - export LS_COLORS='di=36;40:ln=1;31;40:so=32;40:pi=33;40:ex=1;32;40:bd=34;46:cd=34;43:su=0;41:sg=0;46:tw=0;42:ow=0;43:' - elif [ "$(uname)" = "FreeBSD" ] ; then - export LSCOLORS='gxBxcxdxCxegedabagacad' - fi -} - -colormanpages() { - export LESS_TERMCAP_mb="[01;33m" - export LESS_TERMCAP_md="[01;33m" - export LESS_TERMCAP_me="[0m" - export LESS_TERMCAP_se="[0m" - export LESS_TERMCAP_so="[01;44;33m" - export LESS_TERMCAP_ue="[0m" - export LESS_TERMCAP_us="[01;36m" - - ## Gentoo is nuts - export GROFF_NO_SGR=1 -} |
