Y
Hacker News
new
|
ask
|
show
|
jobs
by
jbaber
914 days 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.
1 comments
Biganon
914 days ago
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
link