mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Moved hub into the git plugin.
This commit is contained in:
parent
62fc8d802e
commit
60f39d8d91
55 changed files with 531 additions and 528 deletions
11
plugins/osx/functions/pfs
Normal file
11
plugins/osx/functions/pfs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
osascript 2>/dev/null <<EOF
|
||||
set output to ""
|
||||
tell application "Finder" to set the_selection to selection
|
||||
set item_count to count the_selection
|
||||
repeat with item_index from 1 to count the_selection
|
||||
if item_index is less than item_count then set the_delimiter to "\n"
|
||||
if item_index is item_count then set the_delimiter to ""
|
||||
set output to output & ((item item_index of the_selection as alias)'s POSIX path) & the_delimiter
|
||||
end repeat
|
||||
EOF
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue