vim-rhubarb icon indicating copy to clipboard operation
vim-rhubarb copied to clipboard

Support for reading Host alias from ssh_config.d directory

Open FriendlyTroll opened this issue 1 year ago • 0 comments

Hi,

first thanks a lot for an amazing plugin.

This issue is related to this closed issue about reading github alias hosts from ssh config file. If you have a custom Host that you are using e.g. github-work and this is set in .ssh/config file it works fine.

Host github-work
  Hostname github.com
  IdentityFile ~/.ssh/sshkey-github

However I have some host configs split in different files and those are then included in .ssh/config like so


Include ~/.ssh/ssh_config.d/work.conf

Include ~/.ssh/ssh_config.d/private.conf

If the above host alias is located in any of the files in ~/.ssh/ssh_config.d you will get the error

fugitive: No Gbrowse handler installed for ...

FriendlyTroll avatar Feb 09 '24 10:02 FriendlyTroll