diff options
| author | 2025-02-11 10:54:16 -0500 | |
|---|---|---|
| committer | 2025-02-11 10:54:16 -0500 | |
| commit | 640221c63876daac3bf061f8a77716ddfd21ee18 (patch) | |
| tree | eed44479e6568de37c93799ea9c144e95cd809c6 | |
| parent | added wildcard globbing (diff) | |
add globbing to command mode
| -rw-r--r-- | src/lush.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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); } |
