Replace config.yaml with environment variable
nsbruce opened this issue · 1 comments
Depending on where one chooses to keep the tbmk executable, having a plain config.yaml file in the same directory is not ideal. For example, I have a ~/.local/bin folder where I put executables like tbmk. If more than one executable requires a config.yaml file this structure doesn't work.
One alternative solution is to set an environment variable, something like TBMK_DATA_DIR
. It could also be added directly to the keybindings for each shell.
If you support this idea I'm happy to take a crack at it and open a pull request.
hi, thank you for your idea. Sorry for being late, I have been too busy these day.
For now, symlink is working fine. I don't have plan for coping execution file to the bin folder yet.
Anyway, I'm just thinking about storing the configurations in ~/.config/tbmk
, just like some other apps. And allow to specify the data file using a parameter.