1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-02 23:27:45 +00:00
Commit graph

1194 commits

Author SHA1 Message Date
Darren Schroeder
c37fd0449f
update default path in 20k_club 2023-06-30 06:33:23 -05:00
Bob Hyman
6816f491eb
full line v2; with git status! (#542) 2023-06-30 06:26:20 -05:00
fj0r
ab0d3aaad0
upgrade to 0.82 (#539)
Co-authored-by: agent <agent@nuc>
2023-06-27 21:11:03 -05:00
Neur1n
a2f82bd987
fix: fix default fg and bg coloring for hl.nu (#537) 2023-06-25 06:39:53 -05:00
Tilen Gimpelj
9e62390ec1
added Brace exspansion module (#535)
* updated readme

* added the expand module

* change from --help to -h due to a bug

* changed expand to main, to self reference

* updated wrong output
2023-06-23 15:06:25 -05:00
Darren Schroeder
9d12487d11
update syntax for find-deps 2023-06-23 14:39:07 -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
Michael Angerman
fde7f5b768
add the new crate nu-cmd-base to the release (#533) 2023-06-22 17:11:53 -07:00
Darren Schroeder
065651c763
update syntax 2023-06-22 14:48:49 -05:00
Justin Ma
2d367e4137
Add Nushell Language detect for linguist (#532) 2023-06-21 11:36:01 +03:00
Daniel Mijares
c544a92a40
export env is not in nushell (#529)
* `export env` is not in nushell
using `load-env` and `export-env` since we are `use`-ing  init.nu

* reformatted export-env part to move this along

---------

Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
2023-06-17 07:48:08 -05:00
Hörmet Yiltiz
1c19087afd
Convenience wrapper for venv creation (#514)
* auto-venv python passes syntax checks

* update readme.md

* everything works!

* convenience wrapper for venv creation

* respond to feedback and (try to) be cross-platform compatible

* use external command
2023-06-17 09:25:30 +02:00
Kenichi Kamiya
0ca38a46f5
Replace deprecated hash base64 with decode (#531)
Applied in https://github.com/nushell/nushell/issues/5861
2023-06-15 06:14:41 -05:00
Kenichi Kamiya
28c7e097db
Replace deprecated fetch with http get (#530)
Applied in https://github.com/nushell/nushell/pull/7796
2023-06-15 06:13:39 -05:00
Darren Schroeder
424e8d61a5
add screenshot link 2023-06-12 12:03:56 -05:00
Darren Schroeder
716129378a
create readme.md with theme previews (#519)
* create readme.md with theme previews

* fix bug, tweak themes

* update themes

* re-add readme.md
2023-06-12 11:57:22 -05:00
Antoine Stevan
2e46f056c6
REFACTOR: rewrite the release note scripts (#525)
* move "create release PR" script to `make_release/release-note/`

* move "since last release" script to `make_release/release-note/`

* add a script to list contributions for the release note

* rewrite `since_last_release` to use `list-merged-prs`

This commit also makes the script executable.

* update the `make_release/` readme

* add the commands to run to the release note template

* rename `since_last_release.nu` to `get-full-changelog`

* move the release note PR template to a standalone file

* add another section to inspect Nushell PRs to write changelogs

* fix the name of the command inside it's own doc
2023-06-09 15:26:46 -05:00
fj0r
039930b4e4
parse name of positional args in parse cmd (#527)
* parse name of positional args in `parse cmd`

* Fix the problem that git stashes cannot be parsed correctly

* Fix parsing failure not in git directory

---------

Co-authored-by: agent <agent@nuc>
2023-06-09 07:58:24 -05:00
Antoine Stevan
b901e0737e
fix the std log import (#524) 2023-06-09 07:57:01 -05:00
Antoine Stevan
a120a2e026
add a "command not found" hook (#526) 2023-06-08 21:17:54 -05:00
fj0r
09f6d2a473
kubernetes: fix -n in completion context (#523)
Co-authored-by: agent <agent@nuc>
2023-06-05 06:58:57 -05:00
fj0r
140f556049
more precise parsing of cmd through the information in nu.scope.commands (#522)
- refactor `after` to `after`, `before`
- `gp` support `back-to-prev` for merging scenes
- `ka`, `ke`, `kep`, `ked`, `kes` supports labels selector

Co-authored-by: agent <agent@nuc>
2023-06-04 21:17:28 -05:00
Michael Angerman
b92eb7c03f
update release script for most recent crate addition nu-cmd-extra (#521) 2023-06-02 14:01:42 -07:00
Antoine Stevan
6d5afb6a38
add missing colors to the themes (#520)
* add the new `search_result` from nushell/nushell#9326

NOTE: color1 should be red-ish and color7 should be white-ish.

* regenerate all themes with the new `search_result` key

* add missing keys to the Nushell themes

these keys are "background", "foreground" and "cursor".
2023-06-02 13:05:20 -05:00
fj0r
ab881a61d5
kubernetes: normalize-column-names (#518)
The column names are uppercase and spaces by default, which is inconvenient for subsequent operations and converted to lowercase and underscores

Co-authored-by: agent <agent@nuc>
2023-05-31 06:28:25 -05:00
fj0r
4a1b4c73c2
update docker, git-v2, kubernetes (#517)
- fix `dr -v`
- `gs` split into `gs` and `gst` (stash)
- `gb` add `remote` parameter
- `gn` for clone, init
- tweak `gp`, more complete condition of branches
- `gc` message as positional parameters
- `gm` split into `gm` and `gr` (rebase)
- `gm` default squash with commit
- `gr`(reset) rename to `grs`
- `gr -c` remove `-x`
- `grmt` rename to `grm`
- `gsq` rename to `ggc`
- `kah` allow `--set-json`
- `kh` using conventions instead of arguments
- `kconf import` update existing key
- `ka` (attach) support selector and interactive

Co-authored-by: agent <agent@nuc>
2023-05-30 20:55:03 -05:00
Tilen Gimpelj
80e9d07d80
bm fix to add Windows support (#516)
* fix to add Windows support

* added ()
2023-05-26 16:31:56 -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
c698547b3b
FEATURE: add some fuzzy keybindings (#512)
* add `history`, `directories` and `modules` fuzzy keybindings

* add a little README for the bindings
2023-05-26 13:33:37 -05:00
Antoine Stevan
394e625837
FEATURE: add release note PR script to make_release/ (#506)
* add a script to create the release note PR of the website

* make the script executable

* pass the PR data to the open-pr command in a record

* add instructions to run the script in the readme

* move the core of the instructions to the help of the script

* refactor the repo cleaning in a tool command

* link to the repo if the user is not logged into `gh`

we also clean the repo in that case.
2023-05-26 13:31:57 -05:00
Hörmet Yiltiz
272b7e2b93
auto-venv for python: update to be compatible with nu 0.80 (#513)
* auto-venv python passes syntax checks

* update readme.md

* everything works!
2023-05-26 13:31:10 -05:00
Tilen Gimpelj
4b82839c90
Added missing ? (#511) 2023-05-26 08:25:15 -05:00
Tilen Gimpelj
7df415984f
Added bookmark module (#509)
* initial commit

* updated (module) README to include `bm` and removed missing `cdpath` and `up`

* added comments to commands

* removed missing function

* updated to use `XDG_DATA_HOME`

* added remove command

* updated def and def-env commands

* updated change_prev to use list

* updated README to have some info on use

* updated `get_path` to search `BM_PATH` > `XDG_DATA_HOME` > `~/.local/share`

* Updated to use relative paths, added `save_path` function

* added `main` with general information.

* Updated help text to give more information.

* Added Win support

* Added if dir doesn't exist, it creates it
2023-05-26 07:52:43 -05:00
Antoine Stevan
a7bde3acf2
add completion for toipe (#508) 2023-05-24 13:02:00 -05:00
Jakub Žádník
8a70776fe8
Add dataframe crate to the release (#507) 2023-05-20 07:59:28 -05:00
Antoine Stevan
771586844f
FEATURE: add term-dark and term-light themes from main nushell (#500)
* add `term-dark` and `term-light` themes from main `nushell`

* rename the themes: `{term=>nushell}-{dark,light}`
2023-05-18 07:42:29 -05:00
fj0r
ebc16108fb
refactor: introduce spr and sprb for spread (#504)
* refactor: introduce `spr` and `sprb` for spread

- eliminate `if ($n|is-empty) { [] } else { [-n $n] }` pattern

- `gp -u` can omit branch
- delete `grb`
- improve the premise in the description

* commands for helm as `kxh`

- add `(kustomize)` to description of kxk
- add commands for helm
    - kgh
    - kdh
    - kah
    - kdelh
    - kh
- add `nu-complete kube port` of `kpf`
- add `--local` flag for `kpf`

---------

Co-authored-by: agent <agent@nuc>
2023-05-18 06:42:27 -05:00
Antoine Stevan
fe594febea
add a package file in NUON (#503) 2023-05-17 17:35:45 -05:00
Tilen Gimpelj
e580af935b
Fixed the completion of --flamegraph (#502) 2023-05-17 17:34:01 -05:00
Antoine Stevan
ac1750246c
add the preview script (#501) 2023-05-17 13:15:04 -05:00
Antoine Stevan
792d8e37f6
FEATURE: allow to run themes/make script from anywhere (#499)
* fix the path

* ignore the `lemnos` base of themes
2023-05-17 13:10:43 -05:00
Antoine Stevan
fe93a6bac7
REFACTOR: make the indentation in the themes more consistent (#498)
* make the indentation consistent (4 spaces) in `themes/make.nu`

* regenerate the themes with `themes/make.nu`
2023-05-17 13:09:18 -05:00
fj0r
524f633531
merge ktpa into ktp(-a), rename ktn to ktno (#497)
* merge ktpa into ktp(-a), rename ktn to ktno

* Add a short description to `kgpw`

* kgp support `-a`

---------

Co-authored-by: agent <agent@nuc>
2023-05-17 06:12:48 -05:00
fj0r
08b7ccf84e
refactor git-v2#agree with input list (#496)
Co-authored-by: agent <agent@nuc>
2023-05-16 21:05:57 -05:00
fj0r
b6ecfe3680
Experimental multi-taskrunner support for jx (npm for example) (#492)
* Experimental multi-task runner support for `jx` (npm for example)

- Remove `nu-complete` export for debugging.
- Formatting `nu-complete just recipes`

* Use `jx` to override `j`.

Only for `just`, it only adds a prefix when completing, and does not break the original workflow

* `nu-complete just recipes` append empty string

When all the completions are `just xxx`, there is only `just` in the menu, press `C-w` to delete backwards to work.

* kgp takes `-o default` by default

move just to just/just.nu

* `gp` uses `git pull` instead of `git fetch` by default, and there is only one request when `push` is not needed

* add kgpw for `kubectl get pods --watch`

adjust `gm` to make it clearer

* remove just.nu

---------

Co-authored-by: agent <agent@nuc>
2023-05-16 20:07:08 -05:00
Emily Grace Seville
f86a060c10
Fix: remaining aliases (#495)
* fix(alias): exa

- reformat

* feat(alias): aws

- fix errors

* fix(aliases): clean-up

- create universal README
- remove redundant files
- rename modules

* fix(aliases): aws

- move to modules/
2023-05-16 08:56:31 -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
Emily Grace Seville
d2f424e605
feat(module): add random-list (#488)
* feat(module): add random-list

* feat(module): use options more often

* feat(module): prettify errors
2023-05-14 08:01:22 -05:00
fj0r
194eb30dc7
gp: run git fetch before git push or git pull (#490)
* gp: run `git fetch` before `git push` or `git pull`

* remove useless else

---------

Co-authored-by: nash <nash@iffy.me>
2023-05-14 07:58:02 -05:00