Set Finder path bar to be relative to the home directory

In Finder you can show the path from root to the current folder (option: View ▸ Show Path Bar). With the following command the path will be displayed from the home folder. When browsing your Documents folder “Macintosh HD ▸ Users ▸ defaultswritecom ▸ Documents” (full path) will be shown as: “defaultswritecom ▸ Documents” in the path bar.

defaults write com.apple.finder PathBarRootAtHome -bool TRUE

To make the command take effect, you need to restart the Finder.

killall Finder

Revert to the default setting:

defaults delete com.apple.finder PathBarRootAtHome

Restart Finder

The result: