I want my config to be easy to install.
It would be much more convenient if I could have a file like ~/.config/powerline-rust.yaml.
Proposal: Look for a config file at runtime and use it if present, otherwise use compiled-in default prompt. Checking if a file exists should take negligible time and i'm pretty sure the kernel caches it.
Optional: have a feature which decides whether it even looks for a config file at runtime
If you want the slight speed advantage of a compile-time prompt, then you can compile your prompt in and not have a config file. If you want the easyness of a config file, you can just use the file.
I want my config to be easy to install.
It would be much more convenient if I could have a file like
~/.config/powerline-rust.yaml.Proposal: Look for a config file at runtime and use it if present, otherwise use compiled-in default prompt. Checking if a file exists should take negligible time and i'm pretty sure the kernel caches it.
Optional: have a feature which decides whether it even looks for a config file at runtime
If you want the slight speed advantage of a compile-time prompt, then you can compile your prompt in and not have a config file. If you want the easyness of a config file, you can just use the file.