Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rollcat
11 months ago
|
parent
|
context
|
favorite
| on:
Zoxide: A Better CD Command
If you want a simpler and less invasive "improved cd", you can do this in ZSH:
chpwd() { ls }
It does what it says: after changing the cwd, list its contents. You can try other things, e.g. "[ -d .git ] && git status".
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: