Add "cd to the Folder Currently Open in Finder"

If multiple windows are open, it chooses the top-most one.
This commit is contained in:
Riley Shaw 2015-10-20 17:27:19 -07:00 committed by Riley Shaw
parent b194a1b690
commit d83d4a486d

View File

@ -436,6 +436,12 @@ defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
### Opening Things ### 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 #### Open URL
```bash ```bash
open http://www.github.com open http://www.github.com