1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 14:47:47 +00:00

cwdhist: alternative to zoxide (#656)

- cwdhist: alternative to zoxide
   - just-completions: remove `--unstable`
   - kubernetes: fix desc of kdh

---------

Co-authored-by: nash <nash@iffy.me>
This commit is contained in:
fj0r 2023-11-05 20:55:02 +08:00 committed by GitHub
parent c2bb125a67
commit e4ae994200
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 110 additions and 3 deletions

View file

@ -1,5 +1,5 @@
def "nu-complete just recipes" [] {
^just --unstable --unsorted --dump --dump-format json
^just --unsorted --dump --dump-format json
| from json
| get recipes
| transpose k v
@ -22,7 +22,7 @@ def "nu-complete just recipes" [] {
def "nu-complete just args" [context: string, offset: int] {
let r = ($context | split row ' ')
^just --unstable -u --dump --dump-format json
^just -u --dump --dump-format json
| from json
| get recipes
| get ($r.1)