2009/7/5 Richard S. Hall <[email protected]> > On 7/4/09 11:42 AM, Derek Baum wrote: > >> >> You can then choose how you want to invoke them: >> >> 1. explicitly - obr:list, posix:grep >> 2. using your proposal - 'obr list', 'posix grep' >> 3. using SCOPE=posix:* - allows typing just 'grep' or 'ls' >> >> > > 4. Just type 'grep'. > > Right? If all scopes are searched and since 'grep' is unique, then I > shouldn't need to type anything else, nor should I have to change the scope. > > -> richard
yes, exactly. when commands are unique (which they usually will be), you should just type their simple name. When commands are not unique, and you care which one you get (for example osgi:bundles and local:bundles), then you can solve the ambiguity in the same way as you would in a *nix shell - by using an absolute path for the command or by setting PATH. Derek
