Fix history settings.
This commit is contained in:
parent
be7958e788
commit
95ca40885a
2 changed files with 11 additions and 7 deletions
|
@ -6,11 +6,7 @@ export XDG_CONFIG_HOME="${HOME}/.config"
|
|||
export XDG_DATA_HOME="${HOME}/.local/share"
|
||||
export XDG_STATE_HOME="${HOME}/.local/state"
|
||||
export ZDOTDIR="${XDG_CONFIG_HOME}/zsh"
|
||||
export HISTFILE="${XDG_DATA_HOME}/zsh/history"
|
||||
export HISTSIZE=10000
|
||||
export SAVEHIST=$HISTSIZE
|
||||
|
||||
rm -rf "${ZDOTDIR}/.zsh_history" && ln -sf "${XDG_DATA_HOME}/zsh/history" "${ZDOTDIR}/.zsh_history"
|
||||
# clean home - needs to be here for Docker Desktop
|
||||
export DOCKER_CONFIG="${XDG_CONFIG_HOME}/docker"
|
||||
export GNUPGHOME="${XDG_DATA_HOME}/gnupg"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue