larkery / zsh-histdb

A slightly better history for zsh
MIT License
1.25k stars 74 forks source link

Change HISTDB_INODE type to an array #127

Closed sweetgiorni closed 2 years ago

sweetgiorni commented 2 years ago

Sourcing .zshrc multiple times in the same session leads to the error in #125. HISTDB_INODE should be set to an array type to match its later assignment:

zstat -A HISTDB_INODE +inode ${HISTDB_FILE}

Fixes #125

SunsetYe66 commented 2 years ago

It works perfectly for me and speeded up sourcing .zshrc! Thanks!