nushell: mise.nu breaks path completion #3554
Unanswered
deas
asked this question in
Troubleshooting
Replies: 3 comments
-
Meanwhile, I found a workaround. There may be a more elegant way, but it should probably be emitted by def --env "update-env" [] {
for $var in $in {
if $var.op == "set" {
# The following tow lines work around the issue
let val = if $var.name == "PATH" { $var.value | split row (char esep) } else { $var.value }
load-env {($var.name): $val}
} else if $var.op == "hide" {
hide-env $var.name
}
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, this fix works, thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
-
@jdx it think it's a bug and should be fixed in mise. I can make a patch with required changes. Or do you think it works as expected? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
Following nushell configuration breaks path completion
A clear and concise description of what the bug is.
To Reproduce
Use a system without default nushell configuration, such that executing
nu
creates initial configuration files in~/.config/nushell
. Innu
, ensure that completion works for binaries.e.g. I have qemu installed. Hence, typing
qemu-<TAB
show various binary execution completions.Now do as per docs:
Start a new
nu
shell process. The completion no longer works.Expected behavior
Completion working after adding mise configuration to nushell.
mise doctor
outputn/a
Additional context
Beta Was this translation helpful? Give feedback.
All reactions