Ztodo: simple per-directory todo list manager (zsh)
zsh.org
zsh.org
cd() { builtin cd $* && ls; }
I cannot recall if that is right (on my phone) but that's the idea in bash at least.Very nice; thanks
If your directory name contains a space, the above function won’t work. Note that putting $* in quotes would be interpreted as one argument, so that wouldn’t work if you specified an option along with a directory name.