ccontavalli / ssh-ident

Different agents and different keys for different projects, with ssh.
Other
963 stars 71 forks source link

[REQUEST] support XDG Base Directory Specification #40

Open gzm55 opened 7 years ago

gzm55 commented 7 years ago

Hi, can we put the config file into ~/.config/ssh-ident/config , support xdg specification?

maddes-b commented 2 years ago

Willing to introduce this into the fork at https://github.com/ssh-ident/ssh-ident1 I thinking honoring XDG_CONFIG_HOME (if set) should do the job. If not set or file not present, then silently fallback to FILE_USER_CONFIG from default config.

maddes-b commented 2 years ago

There's a work-in-progress(!) where I implemented this. Actually it just supports env vars to define possible config dirs. https://github.com/ssh-ident/ssh-ident3/tree/feature/build-code-basis