Tig writes to `~/.tig_history` by default
Author: itarantoCreated Jun 4, 2026Updated Jun 4, 2026
Tig writes to ~/.tig_history on a clean install:
- No configuration file
- No
TIG_environment variables. - No
XDG_environment variables.
According to the manual:
$XDG_DATA_HOME/tig/history. If $XDG_DATA_HOME is empty or undefined, store history to ~/.local/share/tig/history if the directory ~/.local/share/tig/ exists, and fall back to ~/.tig_history if it does not exist.
For proper XDG compliance, Tig should not require the directory ~/.local/share/tig/ to be created, it should write to ~/.local/share/tig/history by default.
Source: jonas/tig