When I'm pressing the function keys, for example F12, I get a tilde symbol on my cursor position (~ sign). How can I turn this of ? This issue affects both shells, Bash and the Zsh.
What dotfiles should I paste ?
|
When I'm pressing the function keys, for example F12, I get a tilde symbol on my cursor position (~ sign). How can I turn this of ? This issue affects both shells, Bash and the Zsh. What dotfiles should I paste ? | |||
|
feedback
|
|
On bash from version 4.1, you can stop that from happening by sticking this into ~/.inputrc:
That will make it ignore any keycode that isn't bound to anything else. | |||
|
feedback
|
|
You can assign something to each of those keys. You can also assign a null string. To find out the sequence emitted by each key, press Ctrl-v then the function key. On my system, for F12, I see In Bash, in your
or, if you want to make it output something:
which will make the corresponding key do nothing. In Z shell, you can add
or, if you want to make it output something:
| |||
|
feedback
|