mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 15:34:40 +01:00
histroy fixes
This commit is contained in:
parent
c03c104606
commit
6baad2b317
2 changed files with 9 additions and 3 deletions
|
|
@ -10,4 +10,7 @@ shopt -s histappend
|
|||
# ignore sequential duplicates
|
||||
export HISTCONTROL=ignoreboth
|
||||
|
||||
# more!
|
||||
export HISTSIZE=10000
|
||||
|
||||
# vim: ft=sh
|
||||
|
|
|
|||
|
|
@ -1,9 +1,12 @@
|
|||
# ignore sequential duplicates
|
||||
setopt hist_ignore_dups
|
||||
setopt hist_ignore_space
|
||||
setopt hist_reduce_blanks
|
||||
setopt append_history
|
||||
setopt hist_verify
|
||||
|
||||
# keep 1000 lines of history within the shell and save it to ~/.zsh_history:
|
||||
HISTSIZE=1000
|
||||
SAVEHIST=1000
|
||||
HISTSIZE=10000
|
||||
SAVEHIST=10000
|
||||
HISTFILE=~/.zsh_history
|
||||
|
||||
# vim: ft=zsh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue