4 ms·
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.
by jbaber 3y ago
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.
- Biganon 3y agoI 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