sdn-install: bash: fix UTF-8 collisions

This commit is contained in:
Přemysl Eric Janouch 2020-10-24 19:27:07 +02:00
parent 1318c4983f
commit f231828e8d
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 4 additions and 3 deletions

View File

@ -60,9 +60,10 @@ sdn-restore () {
unset SDN_L SDN_P
}
bind -x '"\200": sdn-navigate'
bind -x '"\201": sdn-restore'
bind '"\eo":"\200\C-m\201"'
# These never occur in UTF-8: \300-\301 \365-\367 \370-\377
bind -x '"\300": sdn-navigate'
bind -x '"\301": sdn-restore'
bind '"\eo": "\300\C-m\301"'
EOF
}