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
master
mssalvatore 10 years ago committed by Marc Cornellà
parent 3f2dd80773
commit 623ea23818
  1. 8
      plugins/osx/osx.plugin.zsh

@ -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…
Cancel
Save