aconfmgr
aconfmgr copied to clipboard
allow running from any path
this allows the bash files to live anywhere. we could actually even get rid of the "running locally" case, and always use the XDG config directory, which seems more clean to me.
how does this look and sound?
Unfortunately I think this will break aconfmgr packages, at least in the way that it is currently packaged (the main script in /usr/bin
and the rest elsewhere).
Perhaps it would make more sense to instead change the if
condition and the first part of the if
body respectively?
we could actually even get rid of the "running locally" case, and always use the XDG config directory, which seems more clean to me.
I think using the configuration from the current directory makes more sense in some circumstances, like when setting up a new system (you would clone aconfmgr and then your configuration).