Skip to content

ssh completions not parsing includes #1124

@VJMReichenbach

Description

@VJMReichenbach

This is more of a feature request, than a bug report.
The ssh completions is only parsing the ~/.ssh/config file and not all files included in the config.
Most of my ssh config is in an included file, so it would be great if this feature would be added.

Thanks <3

I just took a look at the actual completions file and it appears, that this feature already exists. However, it is not working for me.

My config file looks like this

Include other.sshconfig # include another ssh config if it exists

Host github.com # VJMReichenbach GitHub
  HostName github.com
  User git
  IdentityFile ~/.ssh/vjmreichenbach_github

More config...

The module gets included in config.nu with:
use ~/nu_scripts/custom-completions/ssh/ssh-completions.nu *

Am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions