Open iamkarlson opened 1 year ago
The instructions are pretty generic. If using the package manager antidote, after you've added larkery/zsh-histdb
to your zsh_plugins.txt
file, you just need to know the directory your package manager installs zsh-histdb
into. For antidote this is given by the command antidote home
. So the following should be added to your .zshrc
file:
source "$(antidote home)/https-COLON--SLASH--SLASH-github.com-SLASH-larkery-SLASH-zsh-histdb/sqlite-history.zsh"
That line has to go somewhere after you load antigen otherwise it will complain about command not found.
EDIT: Apparently the autoload -Uz add-zsh-hook
isn't needed - see this thread:
https://github.com/larkery/zsh-histdb/issues/87#issuecomment-760228077
hope that helps!
For those who aren't using oh-my-zsh, it would be nice to have an installation guide