-
Notifications
You must be signed in to change notification settings - Fork 743
Closed
Description
It'd be nice if any command could support globs by default. For example:
touch('a.txt');
touch('b.txt');
touch('*.txt'); // this doesn't create a file, it touches the two other filesThis has the concern that calling glob.sync() might have a performance hit. However, this would be very consistent with Bash's behavior, which is a win. We might want to limit this to only some commands. For example:
touch('pwd');
which('p*'); // This should technically output the path of `pwd`, but this is not very common
// this would be an example that we might not want to support, for performance reasonsI think this should apply to the majority of commands, however.