From 623ea2381871d41c788270f75b54cad212de8159 Mon Sep 17 00:00:00 2001 From: mssalvatore Date: Wed, 15 Jun 2016 17:17:03 -0400 Subject: [PATCH] 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 --- plugins/osx/osx.plugin.zsh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh index c92b6556..99d66f25 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 </dev/null <