Commit Graph

946 Commits

Author SHA1 Message Date
Stefan Holderbach
36a45f28a3
Move random/into decimal to random/into float (#606)
* Move `random-list decimal` to `random-list float`

Updates internally to `random float` published with `0.85`

* Update kubernetes wrapper to `into float`

* Update temp script to `into float`

* Update `nupass` to `random float`
2023-09-20 19:13:52 +02:00
Antoine Stevan
e64355b2ce
tix the release note PR opening script (#611)
* remove `str replace --string`

related to nushell/nushell#10064

* remove the return

lol otherwise of course it won't work xD
2023-09-20 18:58:59 +02:00
fj0r
2cbd0de3d4
kubernetes/kn: create namespace when it doesn't exist (#610)
* kubernetes/kn: create namespace when it doesn't exist

* upgrade to 0.85: decimal -> float

---------

Co-authored-by: agent <agent@nuc>
2023-09-20 06:30:48 -05:00
Stefan Holderbach
30b06ccc3d
Update the bump-version script (#609)
Remove deprecated `--string` of `str replace`
Use `version = ""` for config as well as folks want to have the same
experience in `rg`
2023-09-19 05:55:53 -05:00
Antoine Stevan
56d948e787
fix scripts (#594) 2023-09-16 10:41:46 +02:00
WindSoilder
920cf73cbb
Improve background job.nu (#607)
* add Q&A session in README, and add `--label`, `--group` flag to spawn, add `output` sub command to acquire output easily

* make detailed to be a flag
2023-09-14 06:28:08 -05:00
Zinvoke
c352f26154
FEATURE: add catppuccin-mocha theme (#601)
* FEATURE: add `catppuccin-mocha` theme

* FEATURE: add `catppuccin-mocha` theme
2023-09-12 18:20:16 -05:00
Marshall Bruner
8260da5fb9
Change nu_conda list to output active status of environment as well (#604) (#605) 2023-09-12 14:50:42 -05:00
WindSoilder
e61b94efce
use closure instead of block (#602) 2023-09-12 08:41:12 -05:00
Antoine Stevan
cfd7a7950b
add a typeof command (#597)
* add the `typeof` command

* add some tests
2023-09-10 08:13:04 -05:00
Antoine Stevan
6255be7ffa
add $.type to package.nuon (#582)
related to nushell/nupm#12
2023-09-10 13:24:05 +02:00
icp
51cc782344
feat(hooks): add rusty-paths.nu (#596) 2023-09-10 10:40:59 +02:00
Antoine Stevan
0dd97178ad
add the random-bytes benchmark (#595)
* add the `random-bytes` benchmark

* add report
2023-09-08 12:24:01 -05:00
daniel sieradski
411496d311
Add support for fnm (#593)
* add fnm

Signed-off-by: Daniel Sieradski <daniel@self.agency>

* restore path list

---------

Signed-off-by: Daniel Sieradski <daniel@self.agency>
2023-09-08 06:18:55 -05:00
fnuttens
11bc9c6d33
Add eza aliases (#591)
eza is an active fork of exa, which is now unmaintained.
See https://github.com/ogham/exa/issues/1243
2023-09-07 08:36:19 -05:00
Maxim Uvarov
5ed3a961af
Update bar function (#589)
* fix indexing issue

* [bar] make default output without ansi codes

* [bar] use actual testing framework
2023-09-01 07:18:21 -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
Antoine Sébert
45c051dad0
Add dfr before into df and into nu (#585)
It seems that the file is slightly out-of-date.
2023-08-24 06:11:39 -05:00
Chris Dawkins
745896c85a
init nix scripts (#584)
Commands for working with nix package manager.
2023-08-23 14:01:50 -05:00
fj0r
e5cf9b15ae
Upgraded to 0.84 (#583)
`gig` for editing .gitignore
export aliases of `docker.nu`
implement `kdh` without helm-diff installed

Co-authored-by: agent <agent@nuc>
2023-08-23 06:23:14 -05:00
Stefan Holderbach
f2e35e153c
Script to generate the excerpt of the GH release (#566)
* Script to generate the excerpt of the GH release

This will add a list of PR authors so they will be shown with a profile
image at the end of the GH release.

* Update make_release/release-note/gh-release-excerpt

Co-authored-by: Antoine Stevan <44101798+amtoine@users.noreply.github.com>

* Sort authors, feeks default release cycle

---------

Co-authored-by: Antoine Stevan <44101798+amtoine@users.noreply.github.com>
2023-08-23 00:42:15 +02:00
Darren Schroeder
459b8c9d4f
fix the other place (#581) 2023-08-18 12:45:18 -05:00
Darren Schroeder
ce2b66b2d0
fix weather duration after latest nushell changes (#580) 2023-08-18 12:40:18 -05:00
Darren Schroeder
8e086d8771
update prompts scripts with new str replace syntax (#579) 2023-08-17 18:10:20 -05:00
WindSoilder
dd499c916f
Update python-venv.nu so we can enter subdirectory without an error (#574) 2023-08-14 14:00:52 -05:00
Neur1n
e60d20733e
minor changes to nu_conda.nu and nu_msvs.nu (#576)
1. feat(nu_conda): add `nu_conda list` to list available envs
2. fix: use `print` instead of `echo` to print warnings
3. doc: change minimum support version to 0.83.0
2023-08-12 07:24:55 -05:00
Emily Grace Seville
90a8b0d96b
Simple json schema generator (#577)
* feat(script): add json schema generator

* feat(readme): add

* fix(script): use right merge operator
2023-08-12 07:17:33 -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
Antoine Stevan
be47e43db6
rename date format to format date (#571) 2023-08-04 09:08:10 -05:00
Darren Schroeder
1d8457fa9d
update date format to format date in oh-my.nu (#570) 2023-08-03 14:16:13 -05:00
Darren Schroeder
83ce76d5f2
delete codeowners file (#568)
after running with this for a few months, i'm not really sure of the benefit since 99.9% of the changes are not files owned by codeowners. thanks @Hofer-Julian for helping test this!
2023-08-01 09:49:29 -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
Antoine Stevan
fec7f95619
fix the date schedule in the release scripts (#561)
* pass the date as an argument to `get-full-changelog`

* simplify the computation of default date in `list-merged-prs`

* switch to the 4 week-schedule by default

* show the queried date before printing merged PRs

* remove `ansi link` as it's an extra command

* create-pr: show PR parts, explore the note and ask for confirmation
2023-07-31 21:42:54 +02:00
Kuo-tung Kao
3ee56c6ec3
Add descriptions for the docker module. (#549)
* Add descriptions for the docker module.

* Update
2023-07-29 07:57:14 -05:00
Antoine Stevan
f4f765a946
add a script to bump the version of Nushell (#565)
* add `bump-version.nu` to bump a version automatically

* mention `bump-version` in the release guide insted of `sd`

* remove the Note about `sd`ing the `Cargo.lock` file

* break very long lines

* find and replace in the `.nu` config files only

* fix the `str expand` command call for windows

it appears to not work properly with the `\` introduced by `path join`.
2023-07-28 16:22:35 +02:00
Antoine Stevan
9a459565bb
apply some minor markdown style fixes (#562) 2023-07-26 18:19:42 +02:00
Stefan Holderbach
a98df84c59
Specify that config versions need updating as well (#564)
Our default config files carry a version specifier as well to make diagnosis easier.

You need to update them with the version bump PR!
2023-07-26 14:20:03 +02:00
fj0r
c1b68089ab
upgrade 0.83 (#563)
fix `<duration> | into string`
`gn` allows init git repo in current directory, and use `main` as
default branch

Co-authored-by: agent <agent@nuc>
2023-07-26 06:46:23 -05:00
Antoine Stevan
e6adf4e0ae
add $.version to package.nuon (#548) 2023-07-24 19:32:01 +02:00
JT
4a1eba5823
Update some benchmarks. Re-port the gradient benchmark (#558) 2023-07-22 03:16:27 +12:00
Antoine Stevan
832f34fa06
move the extra menus of Nushell into custom-menus/extra/ (#550)
* add the extra menus in `custom-menus/extra/`

* add some notes about how to use the extra menus in bindings
2023-07-21 10:44:27 +02:00
Antoine Stevan
4f0e47d954
make the release note TODOs HTML comments (#557) 2023-07-20 13:47:46 -05:00
Jalon Wong
1a03f02dfd
Add a git prompt (#555)
* Add a git prompt

* Amend README
2023-07-19 06:24:54 -05:00
fj0r
b06dfb664e
ssh complete cache use whitelist (ignore known_hosts and keys) (#553)
docker run add -p(privileged) option
    nvc nvdc for neovim remote-ui

Co-authored-by: agent <agent@nuc>
2023-07-15 06:57:23 -05:00
Darren Schroeder
3fa732f1e2
fix error background (#551) 2023-07-14 07:52:36 -05:00
Maxim Uvarov
e271caf044
conda fix (#547) 2023-07-10 07:18:22 +02:00
Antoine Stevan
bbbf8afb08
refactor: simplify the nu_release script (#540)
* remove useless comments

* use `--manifest-path` instead of `cd`ing

* add a bit of logging

* use an env-scoped `publish` command instead of `--manifest-path`

this will achieve the same result and make sure we control the
behaviour of the options, which we do not with unclear
`--manifest-path`.
2023-07-08 12:47:40 +02:00
Fulvio Scapin
ee64875861
Update README.md: typo (#545)
it's -> its
2023-07-05 10:39:08 -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
Antoine Stevan
bc54b622fa
fix the release note scripts (#538)
* fix link to `reedline` which is `nushell/reedline`

* add a `#` to the PR number in MD links
2023-07-03 10:10:38 +02:00