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:
parent
a0c1314dd0
commit
4f2263447f
5 changed files with 31 additions and 29 deletions
|
@ -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" [] {
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue