Commit 623ea238 authored by mssalvatore's avatar mssalvatore Committed by Marc Cornellà
Browse files

Add ofd() to OSX plugin to open finder on current directory (#5164)

* Add ofd() to OSX plugin to open finder on current directory

* Change `pwd` to $PWD in osx.plugin.zsh
  Suggested by mcornella
parent 3f2dd807
...@@ -151,6 +151,14 @@ function pfd() { ...@@ -151,6 +151,14 @@ function pfd() {
EOF EOF
} }
function ofd() {
osascript 2>/dev/null <<EOF
tell application "Finder"
open POSIX file "$PWD"
end tell
EOF
}
function pfs() { function pfs() {
osascript 2>/dev/null <<EOF osascript 2>/dev/null <<EOF
set output to "" set output to ""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment