From cf80d9f2014e4b6c78802034b7939e7be72754db Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Thu, 22 Dec 2011 15:32:21 -0800 Subject: [PATCH] Adding 256colors alias --- .zprofile | 1 + 1 file changed, 1 insertion(+) diff --git a/.zprofile b/.zprofile index 15f66fc..ca9d84f 100644 --- a/.zprofile +++ b/.zprofile @@ -282,6 +282,7 @@ alias auie="xkbcomp -w0 ~/keymaps/xkb/hunner.xkb $DISPLAY" alias aoeu='setxkbmap us' alias bepo='setxkbmap fr bepo "ctrl:swapcaps"' alias notes='vi ~/Dropbox/Notes/vim*' +alias 256colors='(x=`tput op` y=`printf %80s`;for i in {0..256};do o=00$i;echo -e ${o:${#o}-3:3} `tput setaf $i;tput setab $i`${y// /=}$x;done)' if [ -f $HOME/.termcap ] ; then TERMCAP=$(< $HOME/.termcap) export TERMCAP