Address the issue raised in #176, which is that -C was silently failing to load config files that were not in the default path. The problem was that check_config was checking that the path given in -C was a valid file, and then loading CONFIG_PATH instead, which was not being set to what was given in -C.
This behavior is shown in the attached screenshot.
Description
Address the issue raised in #176, which is that -C was silently failing to load config files that were not in the default path. The problem was that
check_config
was checking that the path given in -C was a valid file, and then loading CONFIG_PATH instead, which was not being set to what was given in -C.This behavior is shown in the attached screenshot.
Relevant Links
176
Screenshots
Before![config](https://github.com/hykilpikonna/hyfetch/assets/31324979/82a806fa-efe1-4200-95e2-342f87ec6e22)
After![config](https://github.com/hykilpikonna/hyfetch/assets/31324979/fed358b0-f6b0-4412-8afc-40bde94f34b8)