Hacker News new | past | comments | ask | show | jobs | submit login

It is possible. Just source that.

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



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?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: