Hacker News new | ask | show | jobs
by forgotpwd16 1885 days ago
It is possible. Just source that.

   bind '"\e[A":"cd ..\n"'
But would you really want that rather showing previous command?
1 comments

Cool, 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?