Data hosted with ♥ by
Pastebin.com
-
Download Raw
-
See Original
tell_terminal
(
)
{
osascript
<<END
tell application "Terminal"
do script "$@"
activate
end
tell
END
}
command
=
"vim "
for
f
in
"$@"
;
do
command
=
"
$command
'
$f
'"
done
tell_terminal
"
$command
"