Hi steve, On Wed, 01 Sep 2010 15:19:51 -0600, [email protected] wrote: > On 2010-09-01 14:10 , Scott G. Lewis wrote: > > VMware Fusion may not be active, but it's created networking > > interfaces always are. > > you can turn them off and on at will -- can't remember where i got these > aliases i've added to my .bash_profile, but they work well; i've never > checked to see whether the cd is really necessary > > alias vmoff='cd /Library/Application\ Support/VMware\ Fusion/;sudo ./boot.sh --stop' > > alias vmon='cd /Library/Application\ Support/VMware\ Fusion/;sudo ./boot.sh --start'
You can try this to eliminate the cd: alias vmoff='sudo /Library/Application\ Support/VMware\ Fusion/boot.sh --stop' or, if the cd does turn out to be necessary, surround with () to execute in a subshell and avoid cd-ing in your main shell as an unwanted side-effect, like this: alias vmoff='(cd /Library/Application\ Support/VMware\ Fusion/;sudo ./boot.sh --stop;)' Regards, -- __/__/__/__/ Tom Hageman <[email protected]> (home) [NeXTmail/Mime OK] __/ __/_/ __/__/__/ __/ _/_/ "Noz!" "Niez!" "mmm Vratski!" -OOglies _______________________________________________ MacOSX-talk mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/macosx-talk
