Hacker News new | past | comments | ask | show | jobs | submit login

My favorite alias, which is not really a zsh exclusive thing, is combining cd && ls :

    cl() { cd "$@" && ls; }
It's wonderfully simple and saves me so much time by giving me an instant refresher of what's in the directory I just changed to.



Run mc, navigate to dir, press ^O to switch back to shell.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: