diff options
author | mssalvatore <mike.s.salvatore@gmail.com> | 2016-06-15 18:03:37 -0400 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2016-06-16 00:03:37 +0200 |
commit | 137a554e48263b1517dced417e36836157f062f5 (patch) | |
tree | 8f647691765f8a521c56e573f135cd66d6469888 /plugins/osx | |
parent | 623ea2381871d41c788270f75b54cad212de8159 (diff) | |
download | zsh-137a554e48263b1517dced417e36836157f062f5.tar.gz zsh-137a554e48263b1517dced417e36836157f062f5.tar.bz2 zsh-137a554e48263b1517dced417e36836157f062f5.zip |
Open finder to PWD - part 2 (#5165)
* Modifies ofd to use alias to open_command instead of shell function with AppleScript
Diffstat (limited to 'plugins/osx')
-rw-r--r-- | plugins/osx/osx.plugin.zsh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh index 99d66f25e..a80b19926 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 <<EOF |