zquestz / s

Open a web search in your terminal.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Have configuration file under ~/.config/s/

vthiery opened this issue · comments

This

To setup your own default configuration just create ~/.s/config.

looks a bit odd. Wouldn't it be better to have in it a more standard way, like ~/.config/s ?

Well when people setup TLS for the server they generally also have other files in ~/.s. Figured a directory would be easier for people. I am not tied to it though if we want to change it.

Oh! sorry for the imprecision. The correct path would be ~/.config/s/ which could contain a config file and all the necessary files to configure it all.

Interested by that too ! And loadConfig could support both path to not break existing installations.