mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-08-05 16:48:38 +00:00
support mrxvt and other rxvt smellalikes in zshrc
This commit is contained in:
parent
7a820de14a
commit
c431cebacd
1 changed files with 3 additions and 3 deletions
6
zshrc
6
zshrc
|
@ -77,7 +77,7 @@ function fix_term
|
|||
rxvt|xterm?*|kterm|putty)
|
||||
fix_term xterm
|
||||
;;
|
||||
rxvt?*|Eterm|aterm)
|
||||
*rxvt?*|Eterm|aterm)
|
||||
fix_term rxvt
|
||||
;;
|
||||
mlterm)
|
||||
|
@ -218,7 +218,7 @@ case $TERM in
|
|||
bindkey '\e[4~' end-of-line
|
||||
bindkey '\e[3~' delete-char
|
||||
;;
|
||||
rxvt*|Eterm|aterm)
|
||||
*rxvt*|Eterm|aterm)
|
||||
bindkey '\e[c' emacs-forward-word
|
||||
bindkey '\e[d' emacs-backward-word
|
||||
bindkey '\eOc' emacs-forward-word
|
||||
|
@ -315,7 +315,7 @@ function title
|
|||
shift
|
||||
print -nR $'\e_screen \005 | '$*$'\e'"\\"
|
||||
;;
|
||||
xterm*|rxvt*|cygwin|interix|Eterm|mlterm|kterm|aterm|putty*)
|
||||
xterm*|*rxvt*|cygwin|interix|Eterm|mlterm|kterm|aterm|putty*)
|
||||
# Use this one instead for everybody else:
|
||||
shift
|
||||
print -nR $'\e]0;'$@$'\a'
|
||||
|
|
Loading…
Add table
Reference in a new issue