I'd like to use different configuration files (instead of $HOME/.haskeline) depending on the application in use. For example, I'd like a different set of key bindings for GHCi which doesn't not make sense in the global $HOME/.haskeline configuration.
Perhaps this could be achieved by modifying readPrefsFromHome to check for the presence of a .haskeline file alongside the current executable before falling back to the version in $HOME.
Is this something that would be useful to other people?
I'd like to use different configuration files (instead of
$HOME/.haskeline
) depending on the application in use. For example, I'd like a different set of key bindings for GHCi which doesn't not make sense in the global$HOME/.haskeline
configuration.Perhaps this could be achieved by modifying
readPrefsFromHome
to check for the presence of a.haskeline
file alongside the current executable before falling back to the version in$HOME
.Is this something that would be useful to other people?