1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-01 19:49:25 +00:00

Cast AppleScript paths to text

This commit is contained in:
Sorin Ionescu
2014-02-02 14:44:22 -05:00
parent 00e12b7a98
commit b8bb51d7b5
2 changed files with 7 additions and 11 deletions

View File

@ -7,7 +7,6 @@
osascript 2>/dev/null <<EOF
tell application "Finder"
return POSIX path of (target of window 1 as alias)
return POSIX path of (target of first window as text)
end tell
EOF