Commit Graph

87 Commits

Author SHA1 Message Date
Alexandre Nédélec
35669a39a9
Move def before extern in winget-completions.nu (#638) 2023-10-15 17:03:53 -05:00
fj0r
c9d63946ec
mask-completions (#631)
- mask-completions
- kubernetes: rename kgpw to kwp

---------

Co-authored-by: agent <agent@nuc>
2023-10-07 12:26:58 +02:00
Stefan Holderbach
6947014306
Replace use of $nothing with null (#621)
`$nothing` will be deprecated in nu 0.86

This accompanies
- https://github.com/nushell/nushell/pull/10478
2023-09-26 18:52:49 +02:00
Marc Schreiber
9ceac61989
Fix git-completions.nu (#620)
The parsing of local git branches accidentally escaped an asterisks
because it had been used as an regular expression in the past.
2023-09-25 06:39:43 -05:00
1adept
6745d1cf93
Fix: Completions Broken '-s' flag in man-completions (#619)
With 85.0 the deprecated `-s` flag in `str replace` was removed because
its matched against a substring automatically now.
2023-09-24 11:05:37 +02:00
Faïz Hernawan
9d0a182a86
completions/git: add filename completion to diff and checkout (#617) 2023-09-22 16:29:05 -05:00
Noah
4cbd678d78
Expand git completions (#587)
* Complete popping a particular stash

* Add some missing git completions

* Git prune subcommand

* Add filepath completion for `git add`
2023-08-31 07:46:59 -05:00
Utsob Roy
539ec787f8
feat(completions): add PDM custom completions (#573)
* feat(completions):  add PDM custom completions

* feat(completions):  add dependency groups detection from pyproject.toml for relevant commands

* fix: 🐛 nuopen to open as it should be

* feat(completions):  user script completions in pdm run

* chore: 🔥 remove vscode settings
2023-08-09 09:27:17 -05:00
e2dk4r
19948a5cbc
custom-completions: scoop: fix getting environmental variables (#567)
`env` command do not exists anymore
use `$env.variable` to access and `'variable' in $env` to check if
environmental  variable exists
2023-08-01 07:38:38 -05:00
dedebenui
94ae821daa
fix pass-completion as let cannot be used at module level (#544)
* fix pass-completion as `let` cannot be used at module level

`let` cannont be used at module level. #8248 proposes to add `const` for modules, but in the meantime, a function is the best way to make this script useable as a module.

* remove calls to system commands for better portability

`^realpath` and `^find` are replaced with `path expand` and `ls` in an effort not to rely on system commands. Literal "/" are also replaced with native path operations.

---------

Co-authored-by: Benoît Sierro <benoit.sierro@bluewin.ch>
2023-07-03 07:54:14 -05:00
ShinyZero0
1d1a70417f
complete manpages (#534)
* add manpage completions

* fix replacing .gz in man cmp, format braces
2023-06-23 06:00:43 -05:00
ShinyZero0
35db6d1e28
Case insensitive and reformatted make completions (#515)
* case-insensitive makefile completion

* format makefile completions
2023-05-26 16:00:23 -05:00
Antoine Stevan
a7bde3acf2
add completion for toipe (#508) 2023-05-24 13:02:00 -05:00
Tilen Gimpelj
e580af935b
Fixed the completion of --flamegraph (#502) 2023-05-17 17:34:01 -05:00
Tilen Gimpelj
d48ce0b6c1
Added typst completion script. (#494) 2023-05-16 07:28:44 -05:00
Amy
2c37b5f583
fix: just completions (#491) 2023-05-14 11:38:47 -05:00
Maxim Uvarov
b2fadc0ea8
the function to display bars of given percentage from given width (#478)
* function to display bars of given percentage from given width

* adding --progress, moving width to options

thanks @amtoine

* typos of ESL studnet

* added examples and tests

* feat(nano): add completions (#479)

* feat(nano): add completions

* feat(nano): add readme

* removed escape symbols from tests, fixed fraction indexing

* fixed tests

Fixed tests, although they need escape sequences, as the bar function has the ability to change the colors of both the background and foreground and uses the default color by default.

* Rename bar_fn.nu to bar.nu

---------

Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>
2023-05-12 09:11:20 -05:00
Emily Grace Seville
ee996ec169
fix(completions): clean-up (#484) 2023-05-11 06:08:36 -05:00
Emily Grace Seville
25c85042f1
feat(nano): add completions (#479)
* feat(nano): add completions

* feat(nano): add readme
2023-05-07 08:45:52 -05:00
Hilmar Gústafsson
09647b77ee
fix(npm-completions): move extern down (#475)
Looks like nu has gotten stricter about the order in which things
must be declared.
2023-05-02 06:42:33 -05:00
Mel Massadian
c47ccd42b8
refactor: (#418)
* refactor:  move in one commit

Eveything in modules should probably be changed to `exported` defs.
The idea is to move everything first to keep proper history.

* refactor: 📝 add modules readme (wip)

* refactor:  small move

* refactor: 📝 changed nestring, updated modules readme

* refactor: 📝 to document or not to document

* fix: 🐛 themes

replaced the template to use `main` and regenerated them
from lemnos themes.

* Revert "fix: 🐛 themes"

This reverts commit 4918d3633c.

* refactor:  introduce sourced

- Created a source `root` in which sourcable demos are stored.
  Some might get converted to modules later on.
- Moved some files to bin too.

* fix: 🐛 fehbg.nu

* fix: 🐛 modules/after.nu

* moved some other stuff around

---------

Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
2023-04-25 17:56:25 -05:00
nils-degroot
1d16a376b2
Added completions for pass (#454) 2023-04-20 08:12:48 -05:00
TuffenDuffen
e4784d44a3
fixed error in yarn completions (#451) 2023-04-18 07:02:04 -05:00
Darren Schroeder
87655ab380
update range syntax in str substring usage (#448) 2023-04-16 07:15:37 -05:00
Jan Klass
40459e646d
Fix winget-completions.nu for nushell v0.78 closure syntax change (#443) 2023-04-11 13:52:33 -05:00
Darren Schroeder
b7a45fbcca
replace occurences of str collect with str join (#436) 2023-04-03 08:47:25 -05:00
Darren Schroeder
4f2263447f
update script syntax to match the latest nushell (#429) 2023-03-31 07:39:20 -05:00
sgasse
9f480c470f
custom-completions: git: Expand completions (#407)
The different commands such as `git checkout`, `git switch`, `git
cherry-pick` and `git rebase` all accept slightly differing refspecs.
This commit separates the extraction of refspecs and combines them in
individual completion commands for the different external commands.

All git commands complete with a table of `value | description` now.

Addresses #406

Co-authored-by: Simon Gasse <sgasse@users.noreply.github.com>
2023-03-29 06:42:19 -05:00
David Lattimore
1884426d79
git-completions: Add completions for more subcommands (#420)
Added branch, remote, diff, commit, pull, stash, init, status, add, rm,
help, log, bisect

Also removed ? from `git rebase --onto` which was putting a literal `?`
into the flag when completing.
2023-03-21 07:37:08 -05:00
sgasse
471c81c5ff
custom-completions: git: Add git rebase (#404)
Co-authored-by: Simon Gasse <sgasse@users.noreply.github.com>
2023-03-12 12:22:52 +01:00
chtenb
bc71f8d1e9
Make commands optional (#398) 2023-03-05 14:45:19 -06:00
Darren Schroeder
4a0f59265d
fix text where comments don't have spaces (#387) 2023-02-22 07:13:10 -06:00
Hofer-Julian
8b4ed82af3
Fix scoop completions (#363) 2023-01-25 10:51:20 -06:00
Hofer-Julian
dc87ff276c
git-completions: Stop checking --force-with-lease (#362) 2023-01-25 06:22:50 -06:00
Marc Schreiber
6801071f50
Fix git checkout/switch completions (#359) 2023-01-24 06:02:58 -06:00
Marc Schreiber
e89b4ac6be
Improve git checkout/switch completions (#358) 2023-01-23 06:05:43 -06:00
Antoine Stevan
89c209f89e
add the "export" keyword to "extern git cherry-pick" (#356) 2023-01-21 13:16:23 -06:00
Marc Schreiber
a023cea71a
Add git cherry-pick completion (#355) 2023-01-21 07:19:52 -06:00
Günter Zöchbauer
b4a5b9e940
Change list of values to list of records with value and description (#354)
It is just one entry for now, but I just found out from the docs
that in this case comments are not used as description
2023-01-20 06:22:35 -06:00
Günter Zöchbauer
cdf6f416cb
Add completions for Bitwarden CLI client (#350) 2023-01-19 07:51:51 -06:00
ldsands
02fac2cd18
Add files via upload (#319) 2023-01-15 17:55:05 -06:00
everyone
4e85e22e11
feat(custom-completions): add reflector completions (#329) 2023-01-15 17:53:03 -06:00
WindSoilder
1203bec68d
fix custom completions arg names (#324) 2022-12-12 06:20:31 -06:00
JT
6f9d6250d4
Switch to 'and' and 'or' (#322)
* Switch to 'and' and 'or'

* oops
2022-12-08 12:52:10 +13:00
Jesper Hasselquist
e2d8f736d4
feat(custom-completions): add zellij completions (#317) 2022-11-25 07:26:34 -06:00
Emil Gardström
a532ee8c4d
improve cargo completions (#316)
* improve cargo completions

* fix indentation
2022-11-22 15:49:36 -06:00
tshaynik
a4e08f4901
Add custom completions for nix (#314)
* Add generated completions for nix

Add initial completions for nix, generated by parsing
the nix help pages with a script.

* Add completion for nix log-format

* add README for nix completions

* allow taking arguments
2022-11-15 06:00:04 -06:00
DWTW321
daf23a9b77
New custom completions for ani-cli, btm, glow & tealdeer (#304)
* New custom completions for ani-cli, btm, glow, gsudo & tealdeer

* Delete README.md

* Delete gsudo-completions.nu

* Update btm-completions.nu

* fixed error in btm completions
2022-10-09 17:56:50 -05:00
Darren Schroeder
c72a6717b9
update cargo update completions 2022-09-22 10:14:11 -05:00
Darren Schroeder
e28c0bdb6d
add cargo update completions (#297) 2022-09-22 10:07:59 -05:00