summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/osx/osx.plugin.zsh8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh
index c92b6556d..99d66f25e 100644
--- a/plugins/osx/osx.plugin.zsh
+++ b/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 ""