ssh-ident icon indicating copy to clipboard operation
ssh-ident copied to clipboard

[REQUEST] support XDG Base Directory Specification

Open gzm55 opened this issue 8 years ago • 2 comments

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

gzm55 avatar Jun 05 '17 07:06 gzm55

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 avatar Jan 20 '22 21:01 maddes-b

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

maddes-b avatar Jan 25 '22 15:01 maddes-b