mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-11-20 06:21:12 +00:00
20 lines
353 B
Plaintext
20 lines
353 B
Plaintext
#
|
|
# Displays the current Finder.app selection.
|
|
#
|
|
# Authors:
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
#
|
|
|
|
# function pfs {
|
|
|
|
osascript 2>&1 <<EOF
|
|
tell application "Finder" to set the_selection to selection
|
|
if the_selection is not {}
|
|
repeat with an_item in the_selection
|
|
log POSIX path of (an_item as text)
|
|
end repeat
|
|
end if
|
|
EOF
|
|
|
|
# }
|