Use xterm-256color-ssh as default keyboard profile.
parent
0f08a5619f
commit
290bf26297
|
@ -269,6 +269,7 @@ section_end
|
||||||
# keyboard fixes
|
# keyboard fixes
|
||||||
section "keyboard fixes"
|
section "keyboard fixes"
|
||||||
if [ $ZSH_KEYBOARD -gt 0 ]; then
|
if [ $ZSH_KEYBOARD -gt 0 ]; then
|
||||||
|
default_keyboard_profile="xterm-256color-ssh"
|
||||||
if [ -z "$SSH_CONNECTION" ]; then
|
if [ -z "$SSH_CONNECTION" ]; then
|
||||||
keyboard_profile="$TERM-${${DISPLAY:t}:-$VENDOR-$OSTYPE}"
|
keyboard_profile="$TERM-${${DISPLAY:t}:-$VENDOR-$OSTYPE}"
|
||||||
else
|
else
|
||||||
|
@ -278,6 +279,9 @@ if [ $ZSH_KEYBOARD -gt 0 ]; then
|
||||||
then
|
then
|
||||||
log "Loading keyboard profile: $HOME/.zkbd/$keyboard_profile"
|
log "Loading keyboard profile: $HOME/.zkbd/$keyboard_profile"
|
||||||
. ~/.zkbd/"$keyboard_profile"
|
. ~/.zkbd/"$keyboard_profile"
|
||||||
|
else
|
||||||
|
log "Loading default keyboard profile: $HOME/.zkbd/$default_keyboard_profile"
|
||||||
|
. ~/.zkbd/"$default_keyboard_profile"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# common assignments
|
# common assignments
|
||||||
|
|
Loading…
Reference in New Issue