This commit is contained in:
2025-04-28 17:48:35 -03:00
parent 5c0ac04bab
commit 38e7b666cf
2 changed files with 7 additions and 7 deletions

View File

@ -19,10 +19,10 @@ set +a
[[ -f $HOME/.local/bin/bash_completion ]] && . "$HOME/.local/bin/bash_completion"
# Bash XDG history
export HISTFILE="$XDG_STATE_HOME"/bash/history
export HISTSIZE=10000
export SAVEHIST=10000
export HISTCONTROL=ignoredups:erasedups
HISTFILE="$XDG_STATE_HOME"/bash/history
HISTSIZE=10000
SAVEHIST=10000
HISTCONTROL=ignoredups:erasedups
shopt -s histappend
# Helpful tool: https://bash-prompt-generator.org

View File

@ -29,9 +29,9 @@ bindkey '^[[F' end-of-line
bindkey "^[[3~" delete-char
# Zsh XDG history
export HISTFILE="$XDG_STATE_HOME"/zsh/history
export HISTSIZE=10000
export SAVEHIST=10000
HISTFILE="$XDG_STATE_HOME"/zsh/history
HISTSIZE=10000
SAVEHIST=10000
setopt HIST_EXPIRE_DUPS_FIRST
setopt HIST_IGNORE_DUPS
setopt HIST_IGNORE_ALL_DUPS