Configure spring loading for directories

Ref. https://github.com/mathiasbynens/dotfiles/pull/133