1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

6 Commits

Author SHA1 Message Date
Chris Cummer
9cd9a58759 Fix a bunch of minor issues found by running staticcheck
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-05-06 22:44:24 -07:00
Sean Smith
4eeb6d67a9 Support XDG_CONFIG_HOME
Clean up workflow and eliminate a method
One place where we calculate the full dir

Closes #699
2020-01-08 23:40:45 -05:00
Sean Smith
9f81207037 Clean up cfg error handling a bit
Pass in the actual file being used, rather than hardcoded `config.yaml`
Differences between two error messages are not that distinct
Centralize on one and clean up all the `isCustomConfig` tracking
2019-09-12 20:28:24 -04:00
Chris Cummer
b9d1017754 Remove another panic call 2019-08-03 12:27:38 -07:00
Chris Cummer
4c0f7650dd Improve error messages 2019-07-29 06:15:51 -07:00
Chris Cummer
50cc9669c5 Explicitly set the default config file's mode to 0600 2019-07-25 10:29:00 -07:00