Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gangstead
on Feb 18, 2021
|
parent
|
context
|
favorite
| on:
Zsh Tricks to Blow Your Mind
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.
drran
on Feb 18, 2021
[–]
Run mc, navigate to dir, press ^O to switch back to shell.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: