From dd87238d36f146675eca731578626813baccf50d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Let?= Date: Mon, 30 Jan 2023 21:31:30 +0100 Subject: [PATCH] Update installation.md --- installation.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/installation.md b/installation.md index fecf91e..0d6d8d3 100644 --- a/installation.md +++ b/installation.md @@ -56,16 +56,20 @@ Restart all open terminals after uninstall! ### Installed files -Binaries and shell files are in: `~/.resh/` +Binaries and shell files are in `~/.resh/`. Recorded history, device files, and logs are in one of: - `~/.local/share/resh/` -- `${XDG_DATA_HOME}/resh/` +- `$XDG_DATA_HOME/resh/` (if set) -RESH config file is in: `~/.config/resh.toml` +RESH config file is read from one of: +- `~/.config/resh.toml` +- `$XDG_CONFIG_HOME/resh.toml` (if set) RESH also adds a following lines to `~/.zshrc` and `~/.bashrc` to load itself on terminal startup: ```sh [[ -f ~/.resh/shellrc ]] && source ~/.resh/shellrc [[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh # bashrc only ``` + +:information_source: RESH follows [XDG directory specification ⇗](https://maex.me/2019/12/the-power-of-the-xdg-base-directory-specification/)