ssh completions not parsing includes
还没有人认领这个 Issue。
评估
调研方向
从 custom-completions/ssh/ssh-completions.nu 开始,使用所示的 config.nu 导入以及包含 Include other.sshconfig 的 SSH 配置重现该问题。跟踪包含文件的发现和解析过程,然后验证包含文件中的主机是否出现在 SSH 补全结果中。
由索引模型根据 Issue 内容生成。
描述
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?
- 主要语言
- Nushell
- 星标
- 1.3k
- 派生
- 323
- 平均合并
- 3 小时 26 分钟
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nushell/nu_scripts 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
nushell/nu_scripts#1269 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
nushell/nu_scripts#1266 · 10 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 58/100
nushell/nu_scripts#1206 ·
-
Include PRs without notes:ready in generated release notes可能重新可做 @ysthakur 于 262 天前认领,目前没有进行中的 PR。 未关闭enhancement
nushell/nu_scripts#1202 · 1 条评论 · 已指派 1 人 ·
-
难度 4/5 3-5 天 新手友好度 25/100
nushell/nu_scripts#1197 · 4 条评论 ·
查看 nushell/nu_scripts 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
area/cli
难度 2/5 1-3 小时 新手友好度 82/100
-
🚀 Feature: Add a --help flag and friendly CLI errors可能已有人在做 @JoshuaKGoldberg 今天认领。 未关闭status: accepting prs type: feature
难度 2/5 1-3 小时 新手友好度 68/100
JoshuaKGoldberg/cspell-populate-words#388 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
mksglu/context-mode#1268 ·
维护者通常 5 天内回复