---------------------
function quitapp
        set cmd 'tell app "'$argv'" to quit'
        osascript -e $cmd

end
---------------------


---------------------
complete -c quitapp -x -u -a "(ps ax -o command |grep \.app/ |grep -v
grep |sed -e 's#\(.*\.app\).*#\1#' |sed -e 's#.*/\(.*\)#\1#')"
---------------------


--
Steven Scott

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to