mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-10-26 22:08:03 +03:00
8635a78991
Continuing effort on https://github.com/nushell/nu_scripts/pull/617 which only auto-completes path relative to git root. Before, ``` $ cd src/ $ git add <tab> src/main.rs Modified README.md Untracked $ git diff <tab> src/main.rs ``` Now it displays, ``` $ cd src/ $ git add <tab> main.rs Modified ../README.md Untracked $ git diff <tab> main.rs ``` |
||
---|---|---|
.. | ||
ani-cli | ||
auto-generate | ||
bitwarden-cli | ||
btm | ||
cargo | ||
git | ||
glow | ||
just | ||
make | ||
man | ||
mask | ||
nano | ||
nix | ||
npm | ||
pass | ||
pdm | ||
poetry | ||
reflector | ||
scoop | ||
tealdeer | ||
toipe | ||
typst | ||
winget | ||
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 *
With path/to/<command>
being either the relative path of the file to your current working directory or its absolute path.