mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-09-11 13:45:56 +03:00
This is some legwork to the CI - [x] fix one `get-row.nu` before 0.60, just because it was easy - [x] `modules/formats/to-ini.nu` - [x] `modules/git/git-v2.nu` - [x] `modules/git/git.nu` - [x] `modules/log/log.nu` - [x] `modules/weather/weatherdark.nu` - [x] `sourced/api_wrappers/worlframalpha.nu` - [x] `sourced/cool-oneliners/pwd-short.nu` - [x] `sourced/github/branch-protections/branch-protections.nu` - [x] `sourced/gitlab/gitlab.nu` - [x] `sourced/misc/nu_defs.nu` - [x] `sourced/update-path.nu` - [x] `sourced/webscraping/shell_starts.nu` I moved some auto-generated commands: - [x] `ack` - [x] `as` - [x] `curl` - [x] `fsarprc` - [x] `fsarpri` - [x] `godoc` - [x] `mysql` - [x] and `xgettext` to custom, so we keep the modifications. I had to comment some of the flags because the parser is not able to parse some flags. Those are explained in comments |
||
---|---|---|
.. | ||
ack | ||
ani-cli | ||
as | ||
auto-generate | ||
bat | ||
bitwarden-cli | ||
btm | ||
cargo | ||
cargo-make | ||
curl | ||
fsharpc | ||
fsharpi | ||
gh | ||
git | ||
glow | ||
godoc | ||
just | ||
make | ||
man | ||
mask | ||
mysql | ||
nano | ||
nix | ||
npm | ||
pass | ||
pdm | ||
pixi | ||
pnpm | ||
poetry | ||
reflector | ||
rg | ||
rustup | ||
scoop | ||
tealdeer | ||
toipe | ||
typst | ||
vscode | ||
winget | ||
xgettext | ||
yarn | ||
zellij | ||
README.md |
Custom completions
This current directory provides custom completions. They can be used by importing their exported commands via:
use path/to/<command>/<command>-completions.nu *
# or
source path/to/<command>/<command>-completions.nu
# without the `*` at the end
With path/to/<command>
being either the relative path of the file to your current working directory or its absolute path.
Bear in mind that if you import the use <path> *
, it is important that you don't name a function with the same name of the file
# file: rustup.nu
export extern rustup [
...args
]
use ./rustup.nu *
won't work here