haskeline icon indicating copy to clipboard operation
haskeline copied to clipboard

XDG compliance

Open hseg opened this issue 4 years ago • 1 comments

Please prioritize getXdgDirectory XdgConfig "haskeline/haskeline" over getHomeDirectory <&> (</> ".haskeline") as a config location. This behaviour is supported since directory-1.2.3.0, released in 2015-07. cf. https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

Otherwise, please do what readline does and provide an analogue of INPUTRC. Of the two options, the former looks simpler.

hseg avatar Dec 23 '20 20:12 hseg

Yes, I strongly support this as well. I was looking for an environment variable and concluded there was none after seeing readPrefsFromHome in System/Console/Haskeline/InputT.hs Direct compliance is preferred in my opinion, but as long as there is an option to change, that would be fantastic

hyperupcall avatar Mar 26 '21 02:03 hyperupcall