The top-level `OpenShell` config directory: `$XDG_CONFIG_HOME/openshell/`.
()
| 28 | |
| 29 | /// The top-level `OpenShell` config directory: `$XDG_CONFIG_HOME/openshell/`. |
| 30 | pub fn openshell_config_dir() -> Result<PathBuf> { |
| 31 | Ok(xdg_config_dir()?.join("openshell")) |
| 32 | } |
| 33 | |
| 34 | /// Resolve the XDG state base directory. |
| 35 | /// |