My fav -
cdl() { cd "$@" && ls ; }
It took me a very long time before I started using that, but 90% of the time I'm going to ls after a cd. And because I'm silly, I end up ls'ing twice pretty often...
ls
cd
That's true, I often do the same. May add this to my alias list myself.
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.
My fav -
It took me a very long time before I started using that, but 90% of the time I'm going to
ls
after acd
. And because I'm silly, I end upls
'ing twice pretty often...That's true, I often do the same. May add this to my alias list myself.