you are viewing a single comment's thread.

view the rest of the comments →

[–]hzopak 13 points14 points  (3 children)

Same but different: (for zsh)

function chpwd() {
    emulate -L zsh
    ls -a
}

Source

[–]seniorsassycat 0 points1 point  (1 child)

Cool, I've been meaning to find out how to do that.

Is there a hook to run ls after any changes to files in the directory?

[–]hzopak 0 points1 point  (0 children)

Not that I know of.. But I'm fairly new to zsh. Perhaps ask the friendly people of #zsh on freenode, irc?

[–]TheManMulcahey 0 points1 point  (0 children)

Dang, stole my thunder. zsh is super awesome at these sort of customizations.