$KEYBOARD_HACK  –  Character to remove from end of command line

$KEYBOARD_HACK defines a character which is removed from the command line of interactive shells before the command is executed. This is meant to help with keyboards which have a small RETURN key. Variable $KEYBOARD_HACK is a more general solution to replace the shell option SUNKEYBOARDHACK.

Examples

Trim hello worlds to hello world with the help of $KEYBOARD_HACK
1
2
KEYBOARD_HACK=s
echo hello worlds # 's' is removed because of KEYBOARD_HACK
Output:
1
hello world
BashSupport Pro ist eine Zsh IDE mit Unterstützung für $KEYBOARD_HACKS - probieren Sie es jetzt aus!
© 2020–2024 Joachim Ansorg
Impressum
Datenschutz
Rechtliches