Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

antidote installation #136

Open
iamkarlson opened this issue Feb 21, 2023 · 1 comment
Open

antidote installation #136

iamkarlson opened this issue Feb 21, 2023 · 1 comment

Comments

@iamkarlson
Copy link

For those who aren't using oh-my-zsh, it would be nice to have an installation guide

@chewblacka
Copy link

chewblacka commented Apr 8, 2023

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:
#87 (comment)

hope that helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants