1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-07-29 21:27:47 +00:00
nu_scripts/custom-completions
Techno Tecna f0cd46cafc
Fix custom completion for pass by converting the path pattern string to glob (#1141)
Password file completion for `pass` no longer worked as the pattern was
passed to `ls` as a string.
Fixed it by converting the pattern to a glob.

Co-authored-by: TechnoTecna <techno.tecna@protonmail.com>
2025-07-03 03:51:53 -05:00
..
ack Fix non-exported completions (#815) 2024-04-11 18:56:18 -05:00
adb Fix typos (#982) 2024-11-21 23:51:05 -05:00
aerospace Add AeroSpace completions (#1080) 2025-04-07 09:57:43 -05:00
ani-cli Updated ani-cli completions (#969) 2024-10-09 18:19:16 -05:00
as Fix non-exported completions (#815) 2024-04-11 18:56:18 -05:00
auto-generate Update some fish-sourced generated completion files (#1103) 2025-04-22 13:51:22 -05:00
aws Add custom completions for aws-cli (#1073) 2025-03-18 14:26:19 -05:00
bat add zoxide custom completions (#1063) 2025-03-04 19:21:26 -06:00
bend feat: add bend completions (#842) 2024-05-22 12:41:01 -05:00
bitwarden-cli fix(completions): clean-up (#484) 2023-05-11 06:08:36 -05:00
bmc Fix typos (#982) 2024-11-21 23:51:05 -05:00
btm use typos for corrections (#833) 2024-05-08 06:47:54 -05:00
cargo fix: cargo clippy linting flags need to accept strings (#947) 2024-09-11 17:51:33 -05:00
cargo-loco replace filter with where (#1135) 2025-06-12 06:42:16 -05:00
cargo-make add cargo-make completions (#769) 2024-02-29 14:23:17 -06:00
composer fix: replace filter with where in composer completions (#1140) 2025-07-01 06:19:26 -05:00
croc Add croc completions (#927) 2024-08-10 15:30:38 -05:00
curl use typos for corrections (#833) 2024-05-08 06:47:54 -05:00
docker feat: Provide completion for docker subcommands (#1085) 2025-04-18 10:43:19 -05:00
dotnet Completions for dotnet (#938) 2024-08-28 08:15:37 -05:00
eza fix: use proper path type for path argument for eza (#920) 2024-07-27 14:05:22 -05:00
fastboot feat: add adb&fastboot completions (#834) 2024-05-10 11:05:44 -05:00
flutter replace filter with where (#1135) 2025-06-12 06:42:16 -05:00
fsharpc 🐛 fix a couple of parser errors (#782) 2024-03-10 14:05:01 -05:00
fsharpi 🐛 fix a couple of parser errors (#782) 2024-03-10 14:05:01 -05:00
gh replace filter with where (#1135) 2025-06-12 06:42:16 -05:00
git feat(git): Added complementary support for the git config subcommands (#1117) 2025-05-10 07:37:51 -05:00
glow fix(completions): clean-up (#484) 2023-05-11 06:08:36 -05:00
godoc 🐛 fix a couple of parser errors (#782) 2024-03-10 14:05:01 -05:00
gradlew feat: add ./gradlew completions (#855) 2024-05-28 06:34:50 -05:00
just replace filter with where (#1135) 2025-06-12 06:42:16 -05:00
komorebi Add komorebi completions (#1055) 2025-02-26 08:45:41 -06:00
kw replace filter with where (#1135) 2025-06-12 06:42:16 -05:00
less use typos for corrections (#833) 2024-05-08 06:47:54 -05:00
lftp replace filter with where (#1135) 2025-06-12 06:42:16 -05:00
loco Added custom completions for loco and cargo loco commands (#1029) 2025-01-30 06:29:47 -06:00
make Fixed sys usage (#916) 2024-07-24 09:09:31 -05:00
man Fix: Completions Broken '-s' flag in man-completions (#619) 2023-09-24 11:05:37 +02:00
mask replace filter with where (#1135) 2025-06-12 06:42:16 -05:00
md-to-clip Add md-to-clip custom completions (#1089) 2025-04-22 12:58:22 -05:00
mix 🐛 fix more parser errors (#783) 2024-03-15 21:10:27 -05:00
mvn feat: add mvn completion (#819) 2024-04-17 06:38:45 -05:00
mysql 🐛 fix a couple of parser errors (#782) 2024-03-10 14:05:01 -05:00
nano the function to display bars of given percentage from given width (#478) 2023-05-12 09:11:20 -05:00
nix fix(completions): clean-up (#484) 2023-05-11 06:08:36 -05:00
npm fix(npm): update incompatible npm scripts (#1137) 2025-06-24 17:09:03 -05:00
op 🐛 fix some parser issues with type signatures (#1001) 2024-12-26 09:28:18 -06:00
pass Fix custom completion for pass by converting the path pattern string to glob (#1141) 2025-07-03 03:51:53 -05:00
pdm feat(completions): add PDM custom completions (#573) 2023-08-09 09:27:17 -05:00
pnpm Add pnpm completions (#692) 2023-12-09 10:55:52 -06:00
poetry 🐛 fix some parser issues with type signatures (#1001) 2024-12-26 09:28:18 -06:00
pre-commit Add custom completions for pre-commit (#940) 2024-08-25 18:27:18 -05:00
pytest Fix typo in README file name for pytest's custom completions (#1068) 2025-03-11 13:41:15 -05:00
reflector use typos for corrections (#833) 2024-05-08 06:47:54 -05:00
rg add rg completions (#767) 2024-02-28 14:14:19 -06:00
rustup fix: adequates to new rustup help page style (#958) 2024-09-20 06:39:30 -05:00
rye replace filter with where (#1135) 2025-06-12 06:42:16 -05:00
scoop style(scoop-completions): Format scoop-completions scripts with topiary-nushell (#1061) 2025-02-28 06:48:52 -06:00
ssh replace filter with where (#1135) 2025-06-12 06:42:16 -05:00
tar Fix non-exported completions (#815) 2024-04-11 18:56:18 -05:00
tcpdump 🐛 fix more parser errors (#783) 2024-03-15 21:10:27 -05:00
tealdeer Fix typos (#982) 2024-11-21 23:51:05 -05:00
toipe add completion for toipe (#508) 2023-05-24 13:02:00 -05:00
ttyper Add ttyper completions (#928) 2024-08-10 15:31:02 -05:00
typst Fixed the completion of --flamegraph (#502) 2023-05-17 17:34:01 -05:00
uv Eliminate duplication in uv completion script (#1112) 2025-05-03 08:38:00 -05:00
virsh use typos for corrections (#833) 2024-05-08 06:47:54 -05:00
vscode code completions (#719) 2023-12-27 08:28:43 -06:00
windows windows nushell stuff (#1105) 2025-04-29 08:56:26 -05:00
winget replace filter with where (#1135) 2025-06-12 06:42:16 -05:00
xgettext 🐛 fix a couple of parser errors (#782) 2024-03-10 14:05:01 -05:00
yarn feat(yarn): complete runnables(bin & scripts) (#841) 2024-05-22 06:30:50 -05:00
zef 🐛 fix more parser errors (#783) 2024-03-15 21:10:27 -05:00
zellij Fix zellij layouts completions on MacOS (#1074) 2025-03-19 06:55:35 -05:00
zoxide Fix heading in zoxide completions README (#1069) 2025-03-11 13:41:52 -05:00
README.md 🐛 Fix rustup use completions and modify README (#696) 2023-12-13 16:43:19 -06:00

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