From db60213036d4050427825510dcd1f0c621290798 Mon Sep 17 00:00:00 2001 From: Sebastian Sandqvist Date: Thu, 2 Aug 2018 09:46:49 -0700 Subject: [PATCH] Use config directory for taskbook.json If it can't be specified dynamically, it is nice to have config files located in the ~/.config directory. This follows the standard used by many thousands of other programs and prevents the homedir from getting unreasonably cluttered with configs. Docs still need to be updated. --- lib/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config.js b/lib/config.js index afc95d6f..dc2900e2 100644 --- a/lib/config.js +++ b/lib/config.js @@ -9,7 +9,7 @@ const {default: defaultConfig} = pkg.configuration; class Config { constructor() { - this._configFile = join(os.homedir(), '.taskbook.json'); + this._configFile = join(os.homedir(), '.config/taskbook/taskbook.json'); this._ensureConfigFile(); }