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:
parent
b194a1b690
commit
d83d4a486d
@ -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