$ defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES $ killall Finder
Source: MacOsxHints