ftp -o - https://jcs.org/move_in | sh -

setup stuff for per-host xterm background colors

+12 -4
+3
.zlogout
··· 1 + if [ "$XTERMBG" != "" ] && [ -f ~/.xtermbg ]; then 2 + xtermcontrol --bg="$XTERMBG" 3 + fi
+9 -4
.zshrc
··· 124 124 watch= 125 125 fi 126 126 127 + # if this host has a custom xterm background color, save the current one now 128 + if [ -f ~/.xtermbg ]; then 129 + export XTERMBG=`xtermcontrol --get-bg 2>/dev/null` 130 + xtermcontrol --bg=`cat ~/.xtermbg` 131 + fi 132 + 127 133 # load any local aliases and machine-specific things 128 - if [[ $OSTYPE = darwin* ]]; then 129 - if [ -f ~/.zshrc.mac ]; then 130 - source ~/.zshrc.mac 131 - fi 134 + if [[ $OSTYPE = darwin* ]] && [ -f ~/.zshrc.mac ]; then 135 + source ~/.zshrc.mac 132 136 fi 137 + 133 138 if [ -f ~/.zshrc.local ]; then 134 139 source ~/.zshrc.local 135 140 fi