-
Notifications
You must be signed in to change notification settings - Fork 243
saves the database to current directory versus somewhere better like ~/.vfeed/ #53
Comments
Hi qtfkwk |
It works good. Thanks again qtfkwk |
If you want to change this to |
More generally, hard-coding this to Could it maybe be configurable (perhaps with environment variables) or use the directory where the script is located (meaning you could put it anywhere)? |
Generally agree that ~/.vfeed is as opinionated as $PWD.... also that it doesn’t conform to XDG spec. The level of effort to use an environment variable would not be so high, but would obviously involve a more serious change to the code. In which case, it’d make sense to design it well. I’d suggest a cascade: use the env var or command line option location if set, then perhaps a location in a config file, then fall back to $PWD. Thoughts? |
The database is saved to and used from the current directory versus somewhere better like ~/.vfeed/. This hampers several things, but most notably putting a symlink somewhere in my path to be able to call/use vfeedcli.py from any directory (
cd ~/bin; ln -s path/to/vFeed/vfeedcli.py vfeed
) like a system-wide command.Btw, I have a patch for this already and will sent a PR shortly.
The text was updated successfully, but these errors were encountered: