3 ms·
Would it possible to alias the escape codes make by the up arrow as 'cd ..'
by ape4 6y ago
Would it possible to alias the escape codes make by the up arrow as 'cd ..'
- forgotpwd16 6y agoIt is possible. Just source that. bind '"\e[A":"cd ..\n"' But would you really want that rather showing previous command?
- ape4 6y agoCool, and duh about the previous command. I supposed some key that's not used for anything on the command line would be needed. Keypad up arrow instead of regular up arrow. Or a single ESC?