Skip to content

Nushell completion #40

@alecandido

Description

@alecandido

Issues, or feature requests, encountered with autocompletion.

Executable completion

Sometimes the autocompletion is not able to provide any suggestion for the basic executables name, which are located in $env.path (though the executables are then found, if manually specified).
Whenever it happens, the suggestions are then limited to builtins.

I noticed this is happening within direnv-activated environments. Even when the environment gets deactivated, the behavior then persists.

zoxide

z completion apparently is not working (despite the alias issue being addressed as described).

Always happening.

Explanation

This is happening because the zoxide jump commands (__zoxide..., and consequently even the z* aliases) are just not external, since they are being defined by the zoxide init nushell-generated script.

https://github.com/alecandido/nix-config/compare/17696ce8ba95683feb973f8a2f4fe51c1dde1e6f..e0211cc46d21d36967f46cb5990ff7c08df3f376

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions