comparison .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
comparison
equal deleted inserted replaced
248:fe6f4e3da0e7 249:7833786173da
49 xterm*|rxvt*) 49 xterm*|rxvt*)
50 PROMPT_COMMAND='history -a ; echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"' 50 PROMPT_COMMAND='history -a ; echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"'
51 ;; 51 ;;
52 screen.xterm-256color) 52 screen.xterm-256color)
53 # Specifically, to hell with this one 53 # Specifically, to hell with this one
54 export TERM=screen 54 export TERM=screen-256color
55 # Copied from below because the Mac's bash doesn't grok ;& as a 55 # Copied from below because the Mac's bash doesn't grok ;& as a
56 # passthrough 56 # passthrough
57 PROMPT_COMMAND="history -a" 57 PROMPT_COMMAND="history -a"
58 ;; 58 ;;
59 screen*) 59 screen*)
111 # Local install paths - install things to $HOME/Installs directories, and 111 # Local install paths - install things to $HOME/Installs directories, and
112 # they will automatically get the proper paths added. Most things 112 # they will automatically get the proper paths added. Most things
113 # that use autoconf will do this with 113 # that use autoconf will do this with
114 # './configure --prefix=$HOME/Installs' 114 # './configure --prefix=$HOME/Installs'
115 for D in $HOME/Installs/* ; do 115 for D in $HOME/Installs/* ; do
116 if [ -d $D/bin ]; then 116 if [ -d $D/bin ]; then
117 [[ $PATH =~ (^|:)$D/bin($|:) ]] || \ 117 [[ $PATH =~ (^|:)$D/bin($|:) ]] || \
118 export PATH=$D/bin${PATH:+:$PATH} 118 export PATH=$D/bin${PATH:+:$PATH}
119 fi 119 fi
120 120
121 if [ -d $D/share/man ]; then 121 if [ -d $D/share/man ]; then
122 [[ $MANPATH =~ (^|:)$D/share/man($|:) ]] || \ 122 [[ $MANPATH =~ (^|:)$D/share/man($|:) ]] || \
123 export MANPATH=$D/share/man:${MANPATH:+$MANPATH} 123 export MANPATH=$D/share/man:${MANPATH:+$MANPATH}
124 fi 124 fi
125 125
126 if [ -d $D/man ]; then 126 if [ -d $D/man ]; then
127 [[ $MANPATH =~ (^|:)$D/man($|:) ]] || \ 127 [[ $MANPATH =~ (^|:)$D/man($|:) ]] || \
128 export MANPATH=$D/man:${MANPATH:+$MANPATH} 128 export MANPATH=$D/man:${MANPATH:+$MANPATH}
129 fi 129 fi
130 done 130 done
131 131