Current Behavior
The ssh host completion provided by carapace-bin does not seem to parse files that are included in the main ~/.ssh/config
file using the Include directive. As a result, any hosts defined in these included files are not available for completion.
Steps to Reproduce
- Create a standard ~/.ssh/config file.
- Inside
~/.ssh/config, add an Include directive to reference another file. For example:
# ~/.ssh/config
Include ~/.ssh/config_hosts
- Create the included file (e.g.,
~/.ssh/config_hosts) and define at least one host within it:
# ~/.ssh/config_hosts
Host my-remote-server
HostName 192.168.1.100
User myuser
- Save the files and attempt to use ssh completion in your shell:
ssh my-r<TAB>
Expected Behavior
carapace-bin should complete my-remote-server as a valid hostname, as it is included in the ssh configuration.
Actual Behavior
The completion does not offer my-remote-server as an option, because it is not directly in ~/.ssh/config. It seems that
the Include directive is not being followed.
Environment
- OS: NixOS 25.05
- Carapace-bin Version: 1.5.0
- Shell: fish 4.1.2
Expected Behavior
No response
Steps To Reproduce
No response
Version
1.5.0
OS
Shell
Anything else?
No response
Current Behavior
The ssh host completion provided by carapace-bin does not seem to parse files that are included in the main ~/.ssh/config
file using the
Includedirective. As a result, any hosts defined in these included files are not available for completion.Steps to Reproduce
~/.ssh/config, add an Include directive to reference another file. For example:~/.ssh/config_hosts) and define at least one host within it:# ~/.ssh/config_hosts Host my-remote-server HostName 192.168.1.100 User myuserssh my-r<TAB>Expected Behavior
carapace-bin should complete my-remote-server as a valid hostname, as it is included in the ssh configuration.
Actual Behavior
The completion does not offer my-remote-server as an option, because it is not directly in ~/.ssh/config. It seems that
the Include directive is not being followed.
Environment
Expected Behavior
No response
Steps To Reproduce
No response
Version
1.5.0
OS
Shell
Anything else?
No response