From 7f4b4ef62d42e31cf9b6cd1d29ea8de86c34a9ae Mon Sep 17 00:00:00 2001 From: Mike Puntolillo Date: Wed, 15 Jun 2016 17:50:31 -0400 Subject: [PATCH] Modifies ofd to use alias to open_command instead of shell function with AppleScript --- plugins/osx/osx.plugin.zsh | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh index 99d66f25e..9a853161f 100644 --- a/plugins/osx/osx.plugin.zsh +++ b/plugins/osx/osx.plugin.zsh @@ -5,6 +5,9 @@ # VERSION: 1.1.0 # ------------------------------------------------------------------------------ +# Open the current directory in a Finder window +alias ofd='open_command $PWD' + function _omz_osx_get_frontmost_app() { local the_app=$( osascript 2>/dev/null </dev/null </dev/null <