Option to show only current directory

Replacement for #329.