From 640221c63876daac3bf061f8a77716ddfd21ee18 Mon Sep 17 00:00:00 2001 From: BanceDev Date: Tue, 11 Feb 2025 10:54:16 -0500 Subject: add globbing to command mode --- src/lush.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/lush.c b/src/lush.c index 3d80c5f..2925272 100644 --- a/src/lush.c +++ b/src/lush.c @@ -1479,7 +1479,11 @@ int main(int argc, char *argv[]) { if (status == -1) { fprintf(stderr, "lush: Expected end of quoted string\n"); - } else if (lush_run(L, args, status) != 0) { + } else { + lush_expand_globs(args); + } + + if (lush_run(L, args, status) != 0) { exit(1); } -- cgit v1.2.3-59-g8ed1b