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

update script syntax to match the latest nushell (#429)

This commit is contained in:
Darren Schroeder 2023-03-31 07:39:20 -05:00 committed by GitHub
parent a0c1314dd0
commit 4f2263447f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 31 additions and 29 deletions

View file

@ -30,7 +30,7 @@ def "nu-complete cargo features" [] {
# `cargo --list` is slow, `open` is faster.
# TODO: Add caching.
def "nu-complete cargo subcommands" [] {
^cargo --list | lines | skip 1 | str collect "\n" | from ssv --noheaders | get column1
^cargo --list | lines | skip 1 | str join "\n" | from ssv --noheaders | get column1
}
def "nu-complete cargo vcs" [] {
[