Hacker News new | ask | show | jobs
by cosmos0072 238 days 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`'

1 comments

How? Readline macros?
Literally with my own shell: https://github.com/cosmos72/schemesh