Skip to main content

default_config_path

Function default_config_path 

Source
pub fn default_config_path() -> PathBuf
Expand description

Returns the default config path following XDG Base Directory spec.

Uses $XDG_CONFIG_HOME/zaino/zainod.toml if set, otherwise falls back to $HOME/.config/zaino/zainod.toml, or /tmp/zaino/.config/zaino/zainod.toml if HOME is unset.