tweak
This commit is contained in:
@ -19,10 +19,10 @@ set +a
|
|||||||
[[ -f $HOME/.local/bin/bash_completion ]] && . "$HOME/.local/bin/bash_completion"
|
[[ -f $HOME/.local/bin/bash_completion ]] && . "$HOME/.local/bin/bash_completion"
|
||||||
|
|
||||||
# Bash XDG history
|
# Bash XDG history
|
||||||
export HISTFILE="$XDG_STATE_HOME"/bash/history
|
HISTFILE="$XDG_STATE_HOME"/bash/history
|
||||||
export HISTSIZE=10000
|
HISTSIZE=10000
|
||||||
export SAVEHIST=10000
|
SAVEHIST=10000
|
||||||
export HISTCONTROL=ignoredups:erasedups
|
HISTCONTROL=ignoredups:erasedups
|
||||||
shopt -s histappend
|
shopt -s histappend
|
||||||
|
|
||||||
# Helpful tool: https://bash-prompt-generator.org
|
# Helpful tool: https://bash-prompt-generator.org
|
||||||
|
@ -29,9 +29,9 @@ bindkey '^[[F' end-of-line
|
|||||||
bindkey "^[[3~" delete-char
|
bindkey "^[[3~" delete-char
|
||||||
|
|
||||||
# Zsh XDG history
|
# Zsh XDG history
|
||||||
export HISTFILE="$XDG_STATE_HOME"/zsh/history
|
HISTFILE="$XDG_STATE_HOME"/zsh/history
|
||||||
export HISTSIZE=10000
|
HISTSIZE=10000
|
||||||
export SAVEHIST=10000
|
SAVEHIST=10000
|
||||||
setopt HIST_EXPIRE_DUPS_FIRST
|
setopt HIST_EXPIRE_DUPS_FIRST
|
||||||
setopt HIST_IGNORE_DUPS
|
setopt HIST_IGNORE_DUPS
|
||||||
setopt HIST_IGNORE_ALL_DUPS
|
setopt HIST_IGNORE_ALL_DUPS
|
||||||
|
Reference in New Issue
Block a user