Commit graph

6 commits

Author SHA1 Message Date
Amaan Qureshi
8d67380c44 nushell: type extern positionals as glob, not string
A `string`-typed parameter in an `export extern` makes nushell stop
tilde- and glob-expanding that argument, unlike a bareword argument to an
unknown external (which expands both). The generated completions therefore
changed runtime parsing: a command like `nh os switch ~/cfg` reached the
program as a literal `~/cfg` once its extern was loaded. Fall back to
`glob` for positionals — it expands tilde and globs exactly like a native
external arg, so the extern still only adds completions without altering
how arguments are passed. Flag values are left as `string` since those are
frequently literal text.
2026-05-25 12:06:27 +10:00
atagen
2682ed958b add purge command 2026-05-24 18:15:32 +10:00
atagen
4a7febee6c add darwin support 2026-05-24 18:15:24 +10:00
atagen
73904c036f timeouts for dynamic completions 2026-05-23 20:10:51 +10:00
atagen
04b418dc18 tidy up extractions and dynamic completion placement 2026-05-21 21:27:58 +10:00
atagen
0aa6ae9fbf riir 2026-05-21 18:35:25 +10:00