Comment by cosmos0072
1 year ago
I need this *so* often that I programmed my shell to execute 'cd ..' every time I press KP/ i.e. '/' on the keypad, without having to hit Return.
Other single-key bindings I use often are:
KP* executes 'ls'
KP- executes 'cd -'
KP+ executes 'make -j `nproc`'
How? Readline macros?
Literally with my own shell: https://github.com/cosmos72/schemesh