changeset 587:77280c499124

usd zsh-histdb-skim for more stable results
author zegervdv <zegervdv@me.com>
date Thu, 14 Apr 2022 22:14:57 +0200
parents d2a4d0b67e35
children 7f2a18dd6b8f
files .chezmoiexternal.toml dot_zshrc
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/.chezmoiexternal.toml	Thu Apr 14 11:07:48 2022 +0200
+++ b/.chezmoiexternal.toml	Thu Apr 14 22:14:57 2022 +0200
@@ -51,6 +51,10 @@
   exact = true
   stripComponents = 1
 
+[".zsh/zsh-histdb-skim/zsh-histdb-skim.zsh"]
+  type = "file"
+  url = "https://github.com/m42e/zsh-histdb-skim/raw/v0.7.5/zsh-histdb-skim.zsh"
+
 [".zsh/completions/_fd"]
   type = "file"
   url = "https://github.com/sharkdp/fd/raw/v8.3.2/contrib/completion/_fd"
--- a/dot_zshrc	Thu Apr 14 11:07:48 2022 +0200
+++ b/dot_zshrc	Thu Apr 14 22:14:57 2022 +0200
@@ -242,14 +242,14 @@
 
 export HISTDB_FILE="${HOME}/.histdb/zsh-history-$(hostname).db"
 source ~/.zsh/zsh-histdb/sqlite-history.zsh
-source ~/.zsh/fzf-histdb.zsh
+source ~/.zsh/zsh-histdb-skim/zsh-histdb-skim.zsh
 
 source ~/.zsh/jq-zsh-plugin/jq.plugin.zsh
 
 # The plugin will auto execute this zvm_after_init function
 function zvm_after_init() {
   [ -f ~/.fzf.zsh  ] && source ~/.fzf.zsh
-  bindkey '^r' histdb-fzf-widget
+  bindkey '^r' histdb-skim-widget
 
   # Postpone current command to next prompt
   bindkey '^t' push-line-or-edit