Merge pull request #27 from rileyjshaw/patch-1

Add "cd to the Folder Currently Open in Finder"
This commit is contained in:
Marcel Bischoff 2015-10-21 03:14:31 +02:00
commit 27549b71d4

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