Skip to content

nu::shell::deprecated - v0.105 #1132

@dougg0k

Description

@dougg0k

Current Behavior

Warning: nu::shell::deprecated

  × Behavior deprecated.
    ╭─[/home/user/.cache/carapace/init.nu:27:11]
 26 │ | default true enable
 27 │ | default $carapace_completer completer)
    ·           ─────────┬─────────
    ·                    ╰─┤ re-run carapace init with version v1.3.3 or later
    ·                      │ or, change this to `{ $carapace_completer }`
 28 │
    ╰────
  help: Since 0.105.0, closure literals passed to default are lazily
        evaluated, rather than returned as a value.
        In a future release, closures passed by variable will also be lazily
        evaluated.

Expected Behavior

To work without deprecated error.

It seem to still work, but the msg appear in every nushell start.

Steps To Reproduce

  1. Install nushell 0.105
  2. Setup carapace to it

Version

carapace-bin 1.3.2

OS

  • Darwin
  • Linux
  • Termux
  • Windows

Shell

  • Bash
  • Cmd
  • Elvish
  • Fish
  • Nushell
  • Oil
  • Powershell
  • Xonsh
  • Zsh

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfundFundable with polar.shlinuxnushell

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions