Commit 137a554e authored by mssalvatore's avatar mssalvatore Committed by Marc Cornellà
Browse files

Open finder to PWD - part 2 (#5165)

* Modifies ofd to use alias to open_command instead of shell function with AppleScript
parent 623ea238
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
# VERSION: 1.1.0 # VERSION: 1.1.0
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Open the current directory in a Finder window
alias ofd='open_command $PWD'
function _omz_osx_get_frontmost_app() { function _omz_osx_get_frontmost_app() {
local the_app=$( local the_app=$(
osascript 2>/dev/null <<EOF osascript 2>/dev/null <<EOF
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment