In Dired, hitting Enter on the first line copies the directory path.
How to override custom themes.