Commit Graph

1024 Commits

Author SHA1 Message Date
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
Antoine Stevan
3c436c4153
update the make_release/Readme.md with the whole process (#541)
* update the `make_release/Readme.md` with the whole process

* complete the release process of `reedline` and `nu-ansi-term`

* make the 0 section title more clear

* make the Git remotes more general and be clear about that

* use `v0.xx.0` tags for both `reedline` and `nu-ansi-term`
2023-07-02 10:23:55 +02:00
Antoine Stevan
a61256da0e
use $env. instead of let-env (#543)
related to nushell/nushell#9574

Commands used
```nushell
sd --string-mode "let-env " '$env.' **/*
git rst before_v0.60/
```
2023-07-01 10:40:16 +02:00
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