diff --git a/README.md b/README.md index ed5cab8..0ca2e21 100644 --- a/README.md +++ b/README.md @@ -436,6 +436,12 @@ defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true ### Opening Things +#### Change Working Directory to Finder Path +If multiple windows are open, it chooses the top-most one. +```bash +cd "$(osascript -e 'tell app "Finder" to POSIX path of (insertion location as alias)')" +``` + #### Open URL ```bash open http://www.github.com