aconfmgr icon indicating copy to clipboard operation
aconfmgr copied to clipboard

allow running from any path

Open Dieterbe opened this issue 3 years ago • 1 comments

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?

Dieterbe avatar Nov 21 '21 20:11 Dieterbe

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).

CyberShadow avatar Nov 22 '21 07:11 CyberShadow