You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# Return the path of the frontmost Finder window
|
|
|
|
function pfd -d "Return the path of the frontmost Finder window"
|
|
osascript 2>/dev/null -e '
|
|
tell application "Finder"
|
|
return POSIX path of (target of window 1 as alias)
|
|
end tell'
|
|
end |