mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 13:50:09 +00:00
Open finder to PWD - part 2 (#5165)
* Modifies ofd to use alias to open_command instead of shell function with AppleScript
This commit is contained in:
parent
623ea23818
commit
137a554e48
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue