zsh: Ignore commands starting with pass for history
This commit is contained in:
parent
d9c88d99f3
commit
e643a2e45d
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ setopt pushd_ignore_dups
|
||||||
export HISTSIZE=1000000
|
export HISTSIZE=1000000
|
||||||
export SAVEHIST=1000000
|
export SAVEHIST=1000000
|
||||||
export HISTFILE="$XDG_DATA_HOME/zsh_history"
|
export HISTFILE="$XDG_DATA_HOME/zsh_history"
|
||||||
export HISTORY_IGNORE="(jrnl *|l *|ls *|z *|cd *|cd -|pwd|pwd *|exit|date)"
|
export HISTORY_IGNORE="(jrnl *|pass *|l *|ls *|z *|cd *|cd -|pwd|pwd *|exit|date)"
|
||||||
|
|
||||||
## Set ZSH History aliases
|
## Set ZSH History aliases
|
||||||
# Show the top 5 commands used in recent history
|
# Show the top 5 commands used in recent history
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue