Closed Tirka closed 2 months ago
BTW
Not sure why this code block repeats twice, looks like a bug
Yep, not sure how that managed to sneak in there. Feel free to delete that duplicate blob. Probably a copy past error by me when i introduced the feature to print completions to stdout.
Also, could you add nushell to the completions integrationt test :)?
3 files 22 suites 2m 39s :stopwatch: 148 tests 148 :white_check_mark: 0 :zzz: 0 :x: 316 runs 316 :white_check_mark: 0 :zzz: 0 :x:
Results for commit cc7aedd9.
Also, could you add nushell to the completions integrationt test :)?
The existing test has already been corrected. Should I add something else?
Nice, thanks for the contribution :) Change looks good to me!
Rationale
pueue recommended as a
temporary workaroundsolution for background task spawning for nushell users.It would be nice to have shell completions within nushell.
Usage
Currently nushell has no preferred way to install completion files into system: https://github.com/nushell/nushell/issues/11337
One possible way of doing this could be:
1) generate completions
2) open nushell config
3) add reference to completion file into config (at the bottom)
4) save config and restart the shell
Screenshot