nu_scripts
nu_scripts copied to clipboard
A place to share Nushell scripts with each other
Hi everyone :wave: :yum: i've been using `virtualenv` to manage `python` virtual environments for a long time, with projects such as `virtualenvwrapper` on `bash` or `virtualfish` on `fish` :yum: i...
``` ❯ z Error: nu::shell::access_beyond_end (link) × Row number too large (max: 0). ╭─[~/code/forks/nu_scripts/prompt/zoxide-eq.nu:86:1] 86 │ # } else { 87 │ cd (zoxide query --exclude ($env.PWD) -- $rest.0 |...
Closes #4. This PR adds a script that generates a README with a table containing all the scripts in the repo. Basically what is does is use a template to...
Following https://github.com/nushell/nushell/issues/5423 This isn't complete at all but covers all my needs atm.
Some auto generated custom-completion files have syntax errors. As an example the `git.nu` has syntax errors in following locations: https://github.com/nushell/nu_scripts/blob/7d5c2f0a2e004b10727cdd6a0a5a0911cc54de9c/custom-completions/auto-generate/completions/git.nu#L1 https://github.com/nushell/nu_scripts/blob/7d5c2f0a2e004b10727cdd6a0a5a0911cc54de9c/custom-completions/auto-generate/completions/git.nu#L785-L789 https://github.com/nushell/nu_scripts/blob/7d5c2f0a2e004b10727cdd6a0a5a0911cc54de9c/custom-completions/auto-generate/completions/git.nu#L1450 Related: #256 #257
``` Error: nu::parser::parse_mismatch (link) × Parse mismatch during operation. ╭─[C:\Users\me\Documents\nu_scripts\custom-completions\auto-generate\completions\tar.nu:10:1] 10 │ --get(-x) # Extract from archive 11 │ --help(-\?) # Display short option summary · ─────┬───── · ╰── expected...
Trying to load curl.nu fails at https://github.com/nushell/nu_scripts/blob/7d5c2f0a2e004b10727cdd6a0a5a0911cc54de9c/custom-completions/auto-generate/completions/curl.nu#L454 with ``` Error: nu::parser::unexpected_eof (link) × Unexpected end of code. ╭─[C:\Users\me\Documents\nu_scripts\custom-completions\auto-generate\completions\curl.nu:454:1] 454 │ ...args 455 │ ] ╰──── ```
The idea is to display all possible destinations for the `c` command, i.e. display all folders located in the `$env.CDPATH` variable's elements on TAB. Like it works with `cd` but...
It would be great to get all the "old" scripts ported to the latest version of nushell. Anyone want to help with it? The steps would be something like this:...
Relative script: https://github.com/nushell/nu_scripts/tree/main/virtual_environments  Nu shell version: 0.61.0