mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-24 04:29:25 +02:00
Adds ofd command to osx.plugin.zsh that opens finder to the present
working directory
This commit is contained in:
parent
3f2dd80773
commit
3021a5c091
1 changed files with 8 additions and 0 deletions
|
|
@ -151,6 +151,14 @@ function pfd() {
|
|||
EOF
|
||||
}
|
||||
|
||||
function ofd() {
|
||||
osascript 2>/dev/null <<EOF
|
||||
tell application "Finder"
|
||||
open POSIX file "`pwd`"
|
||||
end tell
|
||||
EOF
|
||||
}
|
||||
|
||||
function pfs() {
|
||||
osascript 2>/dev/null <<EOF
|
||||
set output to ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue