I like my termcap
This commit is contained in:
parent
9344e1c55c
commit
d143343eec
1 changed files with 12 additions and 0 deletions
12
.zshrc
12
.zshrc
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue