Merge pull request #27 from rileyjshaw/patch-1
Add "cd to the Folder Currently Open in Finder"
This commit is contained in:
commit
27549b71d4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user