Automatically list files after cd

from blog meain/blog, | ↗ original
Almost everybody does an ls after they cd into a folder. So why not get your shell to automatically do it? The simple way # Well, you might know the simple way. Just change cd to do cd and ls. cd() { builtin cd "$@";ll;} The grown up way (in zsh) # Well, even though the previous one works well for most cases, there might be some situations in...