DEV Community

Discussion on: The Shell Introduction I Wish I Had

Collapse
 
pmcgowan profile image
p-mcgowan

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...

Collapse
 
maxwell_dev profile image
Max Antonucci

That's true, I often do the same. May add this to my alias list myself.