From d143343eec1138c9236238f4d624114ed66053c0 Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Tue, 10 Aug 2010 13:46:06 -0700 Subject: [PATCH] I like my termcap --- .zshrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.zshrc b/.zshrc index 269e1dc..3cfd7a5 100644 --- a/.zshrc +++ b/.zshrc @@ -195,6 +195,18 @@ alias asdf="xkbcomp -w0 ~/keymaps/xkb/hunner.xkb $DISPLAY" alias auie="xkbcomp -w0 ~/keymaps/xkb/hunner.xkb $DISPLAY" alias aoeu='setxkbmap us' alias bepo='setxkbmap fr bepo "ctrl:swapcaps"' +if [ -f $HOME/.termcap ] ; then + TERMCAP=$(< $HOME/.termcap) + export TERMCAP +fi +make_termcap() { + cat > $HOME/.termcap << EOF +rxvt-256color|rxvt-256color terminal (X Window System):\ + :Co#256:\ + :tc=rxvt-unicode:\ + :tc=rxvt: +EOF +} type7() { if [ `uname -s` = "SunOS" ] ; then xmodmap ~/keymaps/eo_dv_hunner_type7_sol.pke