nu_scripts
nu_scripts copied to clipboard
A place to share Nushell scripts with each other
@amtoine I couldn't get it to work with the old link, but with this fix, opening the PR worked like charm!
I often use cmd to issue remote reboots of machines, ping, run traceroute and to force gpo updates. I use powershell to create scripts for the machines I manage. FYI-...
I've tried to use the `winget-completions.nu` completions in my config ```bash use C:\Users\username\git-completions.nu * ``` but when I now start nushell I'm getting the following error: ```bash Error: nu::parser::unknown_command ร...
### Related problem Hi lovely folks ๐ So I had the joy to see Nushell in action for the first time recently, and I have to say, I am quite...
[See this line](https://github.com/nushell/nu_scripts/blob/cfd7a7950bcd50d5fee585eedd3bfe6f008e21b8/modules/background_task/job.nu#L9), where the command `spawn` takes `command: block` as an argument, but according to the error, "blocks are not supported as values," and rather one should "use 'closure'...
There are [bash-completion](https://github.com/scop/bash-completion) and [zsh-completions](https://github.com/zsh-users/zsh-completions) already. I think it is convenient to regard the present custom-complitions as an individual package to distribute or install.
Basically the title. Completions can take up to a second or more, a quick count reveals I have `57124` manpage entries on my system. The initial completion taking a while...
this: ```nu use ~/Developer/nu_scripts/custom-completions/auto-generate/parse-fish.nu ``` throws this: ```nu Error: nu::parser::expected_keyword ร Expected keyword. โญโ[/Users/daniel/Developer/nu_scripts/custom-completions/auto-generate/parse-fish.nu:86:1] 86 โ 87 โ let quote = '"' # " ยท โโฌโ ยท โฐโโ expected def,...
I adapted the conda script to also support micromamba. i am not a nushell expert, so i am hesitant to make a PR out of it, but wanted to first...
Often enough, I run something like `git rebase --onto origin/main 7fla28h` or `git switch origin/my_colleagues_feature`. For this, it would be helpful that the custom-completions for git included not only local...