nu_scripts
nu_scripts copied to clipboard
A place to share Nushell scripts with each other
- Use attr based examples. - Hook removes itself after running, rather than staying loaded. - Switch to tsv as storage format to allow adding new logs without loading the...
The following is used for a fuzzy completion menu: ``` { name: fuzzy_history modifier: control keycode: char_h mode: [emacs, vi_normal, vi_insert] event: { send: executehostcommand cmd: "commandline ( history |...
In my config I have ```nu source vendor/nu_scripts/custom-menus/zoxide-menu.nu ``` and when I now press ctrl o and select a directory I end up with ```console $ C:\Users\jabdinghoff\IdeaProjects\C:\Users\jabdinghoff\AppData\Roaming\nushell ``` where the...
~~This is more of a feature request, than a bug report.~~ ~~The ssh completions is only parsing the `~/.ssh/config` file and not all files included in the config.~~ ~~Most of...
'c' and 'C' conflicted, leading to get c getting the C column Clear out 'complete ' earlier, in tokenize-complete-lines. Parse and pair flags without values as well. --- Based on...
I have spent considerable time working on `parse-fish.nu`, and I was successful in covering more cases. But seeing how fish defines completions in fish code and logic makes me wonder...
The following starts-with 'complete' where filter covers it as well. --- Based on PR #1120 --- Example generated file, before and after this set of PRs: `ninja.fish` -> `ninja.nu` ```nushell...
Based on PR #1119
Hello, a recent commit ([446f06f](https://github.com/nushell/nu_scripts/commit/446f06f34f4f03bb17c6fdaa5b0deae477c03234)) broke the ssh custom completion for nu version 0.99.1 (the one shipped by dnf and fedora). This isn't a huge issue and I just downloaded...
As noted in https://github.com/nushell/nushell/issues/15452, having a direnv example in nu_scripts and one in the Cookbook is a problem in that they've rarely been in sync. Since there's *documentation* for this...