diff --git a/shell_setup.sh b/shell_setup.sh index d30d9a9..eae09bf 100644 --- a/shell_setup.sh +++ b/shell_setup.sh @@ -33,7 +33,43 @@ ${SUDO} echo "source /usr/share/doc/fzf/examples/key-bindings.zsh" >> ~/.zshrc ${SUDO} echo 'alias vi="vim"' >> ~/.zshrc # Configure screen -echo "defshell -zsh" > ~/.screenrc +echo "# Allow bold colors - necessary for some reason +attrcolor b ".I" + +# Tell screen how to set colors. AB = background, AF=foreground +termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' + +# Enables use of shift-PgUp and shift-PgDn +#termcapinfo xterm|xterms|xs|rxvt ti@:te@ + +# Erase background with current bg color +#defbce "on" + +# Enable 256 color term +#term xterm-256color + +# Cache 30000 lines for scroll back +defscrollback 300000 + +# New mail notification +#backtick 101 30 15 $HOME/bin/mailstatus.sh + +hardstatus alwayslastline +# Very nice tabbed colored hardstatus line +hardstatus string '%{= Kd} %{= Kd}%-w%{= Kr}[%{= KW}%n: %H%{= Kr} %{= Kr}]%{= Kd}%+w %-= %{KG} %H %{KW}|%{KY}%110`%{KW}|%D %M %d %Y%{= Kc} %C%A%{-}' + +#hardstatus string "%{= KW} %H [%` %h] %{= Kw}|%{-} %-Lw%{= bW}%n%f %t%{-}%+Lw %=%C%a %Y-%M-%d" +#hardstatus string '%?%F%{;4}%?%3n %t%? [%h]%?' +#hardstatus alwayslastline "%{rk}%H %{gk}%c %{yk}%M%d %{wk}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{wk}%?%+Lw%?" + +# change command character from ctrl-a to ctrl-b (emacs users may want this) +#escape ^Bb + +# Hide hardstatus: ctrl-a f +bind f eval "hardstatus ignore" +# Show hardstatus: ctrl-a F +bind F eval "hardstatus alwayslastline" +defshell -zsh" > ~/.screenrc # Configure VIM curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim