larkery / zsh-histdb

A slightly better history for zsh
MIT License
1.27k stars 75 forks source link

Unwanted output when source ~/.zshrc #125

Closed SunsetYe66 closed 2 years ago

SunsetYe66 commented 2 years ago

Hi, I have installed zsh-histdb and it works fine with my daily routine. But there's something wrong when I execute source ~/.zshrc:

> source ~/.zshrc
/Users/shawn.ye/.oh-my-zsh/custom/plugins/zsh-histdb/sqlite-history.zsh:typeset:17: HISTDB_INODE: inconsistent type for assignment

zsh-histdb/sqlite-history.zsh:typeset:17 contains: typeset -g HISTDB_INODE="". I have no idea what's wrong, and I'd be happy to provide more related details.

jayeshathila commented 2 years ago

+1

➜  ~ source ~/.zshrc                                                                                                                                                                                                                                    
/Users/jayehh/.oh-my-zsh/custom/plugins/zsh-histdb/sqlite-history.zsh:typeset:17: HISTDB_INODE: inconsistent type for assignment
zsh: histdb-update-outcome: function definition file not found                                                                                                                                                                                                
➜  ~