Skip to content

Displays the path of the current directory in the window title

By default Mac OS X does not show the current directory path in the title bar. But just because it doesn’t, doesn’t mean it can’t do it with a simple terminal command.

I remember when I switched from Windows to Mac OS X almost two years ago (a change I don’t regret at all, by the way). What I missed most was knowing in which directory I was (not the name, but the full path).

Displays the path of the current directory in the window titleDisplays the path of the current directory in the window title

The fact is that Mac OS X doesn’t show this information by default , but it should be acknowledged that can be very helpful at certain times .

Well, today we’ll learn how to do it. How? Through terminal commands .

To display the full path in the title bar , just enter (one by one) these two commands in the system terminal:

defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES killall Finder

To return to the original state , simply replace yes with no .

defaults write com.apple.finder _FXShowPosixPathInTitle -bool NO killall Finder

No doubt it’s something simple, but at the time it helped me a lot (and it still does), and that without a doubt can be a great support for those who come from Windows .