I notice your ..="cd .." alias. Try autocd=true. You'll never need to type cd again.
..="cd .."
autocd=true
Ooh. That one is new to me and I’m very excited to try it out. Thanks!
That one doesn't work for me! Does it not work in stock Terminal?
My bad. The command is actually shopt -s autocd. I should have checked my bashrc first.
shopt -s autocd
Just so anyone trying this knows, I had to update my bash to @4+ to get this working! Here's a handy guide on getting it working: clubmate.fi/upgrade-to-bash-4-in-m...
!!!!!! OMG This is so great!!!!!!! (thanks for sharing this awesome tip!)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I notice your
..="cd .."
alias. Tryautocd=true
. You'll never need to type cd again.Ooh. That one is new to me and I’m very excited to try it out. Thanks!
That one doesn't work for me! Does it not work in stock Terminal?
My bad. The command is actually
shopt -s autocd
. I should have checked my bashrc first.Just so anyone trying this knows, I had to update my bash to @4+ to get this working!
Here's a handy guide on getting it working:
clubmate.fi/upgrade-to-bash-4-in-m...
!!!!!! OMG This is so great!!!!!!! (thanks for sharing this awesome tip!)