Mercurial > index.cgi > dotfiles
diff .bashrc @ 249:7833786173da
Fixing 256-color screens, removing some whitespace. Further screen changes may be needed...
author | Steve Huston <huston@srhuston.net> |
---|---|
date | Wed, 27 Mar 2024 15:59:55 -0400 |
parents | 335b0fba60a8 |
children | d868be3816bf |
line wrap: on
line diff
--- a/.bashrc Tue Mar 26 16:58:39 2024 -0400 +++ b/.bashrc Wed Mar 27 15:59:55 2024 -0400 @@ -51,7 +51,7 @@ ;; screen.xterm-256color) # Specifically, to hell with this one - export TERM=screen + export TERM=screen-256color # Copied from below because the Mac's bash doesn't grok ;& as a # passthrough PROMPT_COMMAND="history -a" @@ -113,17 +113,17 @@ # that use autoconf will do this with # './configure --prefix=$HOME/Installs' for D in $HOME/Installs/* ; do - if [ -d $D/bin ]; then + if [ -d $D/bin ]; then [[ $PATH =~ (^|:)$D/bin($|:) ]] || \ export PATH=$D/bin${PATH:+:$PATH} fi - if [ -d $D/share/man ]; then + if [ -d $D/share/man ]; then [[ $MANPATH =~ (^|:)$D/share/man($|:) ]] || \ export MANPATH=$D/share/man:${MANPATH:+$MANPATH} fi - - if [ -d $D/man ]; then + + if [ -d $D/man ]; then [[ $MANPATH =~ (^|:)$D/man($|:) ]] || \ export MANPATH=$D/man:${MANPATH:+$MANPATH} fi