Hacker News new | ask | show | jobs
by mhd 4688 days ago
Why the slash? And a lot of Linux distributions already have '..' as the same alias -- as . is already a shortcut for 'source'.

If you really want to optimize this, there's always your .inputrc.

"\e[24~": "cd ..\n"

For lots of terminals, this maps your F12 key to go up a level in the directory hierarchy, no subsequent press of the enter key required.