ssh completions not parsing includes
Nobody has claimed this yet.
- Dominant language
- Nushell
- Stars
- 1.3k
- Forks
- 323
- Avg merge
- 2h 55m
- Merged PRs (30d)
- 3
Description
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with custom-completions/ssh/ssh-completions.nu and reproduce the issue using the shown config.nu import and an SSH config containing Include other.sshconfig. Trace how included files are discovered and parsed, then verify that hosts from the included file appear in SSH completion results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100