l 2 zsh: fix history size via hack
This commit is contained in:
parent
5608bc02d7
commit
03eaa03200
@ -7,9 +7,6 @@
|
|||||||
zsh-newuser-install() { :; }
|
zsh-newuser-install() { :; }
|
||||||
'';
|
'';
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
HISTFILE=~/.histfile
|
|
||||||
HISTSIZE=1000000
|
|
||||||
SAVEHIST=100000
|
|
||||||
#unsetopt nomatch
|
#unsetopt nomatch
|
||||||
setopt autocd extendedglob
|
setopt autocd extendedglob
|
||||||
bindkey -e
|
bindkey -e
|
||||||
@ -92,6 +89,11 @@
|
|||||||
esac
|
esac
|
||||||
'';
|
'';
|
||||||
promptInit = ''
|
promptInit = ''
|
||||||
|
# TODO: figure out why we need to set this here
|
||||||
|
HISTSIZE=900001
|
||||||
|
HISTFILESIZE=$HISTSIZE
|
||||||
|
SAVEHIST=$HISTSIZE
|
||||||
|
|
||||||
autoload -U promptinit
|
autoload -U promptinit
|
||||||
promptinit
|
promptinit
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user