打开终端:
显示路径代码
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
如果想隐藏路径代码
defaults write com.apple.finder _FXShowPosixPathInTitle -bool NO