News for hackers. Stuff that matters.
Re:Some Useful Bash Aliases – Chuck Carroll by jbaber on Monday December 25, 2023 @05:36PM (#38766903)
I used to do things like this until I found bash has

shopt -s autocd

which makes it so naming a directory cd's to it, including .. ~ etc.

Re:Some Useful Bash Aliases – Chuck Carroll by Biganon on Monday December 25, 2023 @06:42PM (#38767426)
I think it's a terrible idea, because one day you'll try to enter a directory that shares its name with a command you don't know, and it will execute this command instead