Skip to content

bug: Nushell completions #2227

@kuchta

Description

@kuchta

Describe the Bug

It seems like documentation for nushell completions is outdated, since . "$asdf_data_dir/completions/nushell.nu" returns error because source should be used instead of . and the path should be in the form ($env.ASDF_DATA_DIR)/completions/asdf.nu

. "$asdf_data_dir/completions/nushell.nu"
Error: nu::shell::external_command

  × External command failed
   ╭─[entry #35:1:1]
 1 │ . "$asdf_data_dir/completions/nushell.nu"
   · ┬
   · ╰── Command `.` not found
   ╰────
  help: `.` is neither a Nushell built-in or a known external command

Steps to Reproduce

N/A

Expected Behaviour

N/A

Actual Behaviour

N/A

Environment

N/A

asdf plugins affected (if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions