Wed 16 April 2014


UNIX Comfort Food

Color bash, vim, ls, grep, and screen ready for cut and paste into client environements.

cut and paste

export EDITOR=vim
alias grep='grep --color'
alias egrep='egrep --color'
alias vim="vim -c 'set background=dark ai si'"
eval $(dircolors | sed 's/di=01;34/di=01;33/')
export PS1='\[\e]0;\u@\h: \w\a\]\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\n\$ '
PROMPT_COMMAND='[ $TERM == "screen" ] && echo -n -e "\033k${HOSTNAME}\033\\"'


term xterm
defscrollback 5000
termcapinfo rxvt* 'ti@:te@:hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
termcapinfo xterm* 'ti@:te@:hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
caption string "%?%F%{= Bk}%? %C%A %D %d-%m-%Y %{= kB} %t%= %?%F%{= Bk}%:%{= wk}%? %n "
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'
Go Top
comments powered by Disqus