I like my termcap

This commit is contained in:
Hunter Haugen 2010-08-10 13:46:06 -07:00
parent 9344e1c55c
commit d143343eec

12
.zshrc
View file

@ -195,6 +195,18 @@ alias asdf="xkbcomp -w0 ~/keymaps/xkb/hunner.xkb $DISPLAY"
alias auie="xkbcomp -w0 ~/keymaps/xkb/hunner.xkb $DISPLAY" alias auie="xkbcomp -w0 ~/keymaps/xkb/hunner.xkb $DISPLAY"
alias aoeu='setxkbmap us' alias aoeu='setxkbmap us'
alias bepo='setxkbmap fr bepo "ctrl:swapcaps"' 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() { type7() {
if [ `uname -s` = "SunOS" ] ; then if [ `uname -s` = "SunOS" ] ; then
xmodmap ~/keymaps/eo_dv_hunner_type7_sol.pke xmodmap ~/keymaps/eo_dv_hunner_type7_sol.pke