Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added XDG support #157

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Added XDG support #157

wants to merge 2 commits into from

Conversation

czaplicki
Copy link

solving issue #150

renamed readPrefsFromHome -> readUserPrefs
made readUserPrefs look for $XDG_CONFIG_HOME, check if it exists
and if so, readPrefs from it instead of $HOME/.haskeline.
If it doesen't exist, readPref from $HOME/.haskeline.

renamed readPrefsFromHome -> readUserPrefs
made readUserPrefs look for $XDG_CONFIG_HOME, check if it exists
and if so, readPrefs from it instead of $HOME/.haskline.
If it doesen't exist, readPref from $HOME/.haskline.
System/Console/Haskeline/InputT.hs Outdated Show resolved Hide resolved
@Lubsch
Copy link

Lubsch commented Oct 30, 2023

Sorry for basically just +1-ing this, but what has been blocking this from getting merged? I would really appreciate this feature.

@tjakway
Copy link

tjakway commented Oct 30, 2023

Sorry for basically just +1-ing this, but what has been blocking this from getting merged? I would really appreciate this feature.

Same here. And if there are any blockers I'd be willing to do the work to get this merged.

@yzhou216
Copy link

Is there any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants