* Configuration is now handled in this order: --config flag ZELLIJ_CONFIG_FILE env get_default_config_dir() (directories-next) HOME/.config/zellij (for mac convenience) SYSTEM_DEFAULT_CONFIG_DIR (for distributions to specify sensible defaults ontop of zellij) from assets * Fix default.yaml file * Move default.yaml file to assets directory
12 lines
497 B
Rust
12 lines
497 B
Rust
//! Zellij program-wide constants.
|
|
|
|
pub const ZELLIJ_TMP_DIR: &str = "/tmp/zellij";
|
|
pub const ZELLIJ_TMP_LOG_DIR: &str = "/tmp/zellij/zellij-log";
|
|
pub const ZELLIJ_TMP_LOG_FILE: &str = "/tmp/zellij/zellij-log/log.txt";
|
|
pub const ZELLIJ_IPC_PIPE: &str = "/tmp/zellij/ipc";
|
|
|
|
pub const ZELLIJ_CONFIG_FILE_ENV: &str = "ZELLIJ_CONFIG_FILE";
|
|
pub const ZELLIJ_CONFIG_DIR_ENV: &str = "ZELLIJ_CONFIG_DIR";
|
|
|
|
// TODO: ${PREFIX} argument in makefile
|
|
pub const SYSTEM_DEFAULT_CONFIG_DIR: &str = "/etc/zellij";
|