3 ms·
Tangential note. > But the data isn’t persistent enough, we only get recent commands, and the location is always moving and we can’t easily reference older ca
by chx 5y ago
Tangential note.
> But the data isn’t persistent enough, we only get recent commands, and the location is always moving and we can’t easily reference older calculations.
You need a better shell, my friend. To quote my .zshrc
HISTSIZE=100000
SAVEHIST=100000
setopt inc_append_history share_history HIST_IGNORE_DUPS
bindkey '^R' history-incremental-pattern-search-backward
The results?
wc -l ~/.zsh_history
55576 /home/chx/.zsh_history
and I can pattern search it.