summaryrefslogtreecommitdiffstats
path: root/zshrc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@stripe.com>2017-11-08 10:31:21 -0800
committerJesse Luehrs <doy@tozt.net>2017-11-08 10:43:30 -0800
commitcd16afbc9bfd2da7bd29cc1ad4fc83283494a044 (patch)
tree5b00f968c50dd6cadeb053d904a32c71fc7c1c37 /zshrc
parent8976075e288d8cadc5c6c6d1e59615b9b2fee137 (diff)
downloadconf-cd16afbc9bfd2da7bd29cc1ad4fc83283494a044.tar.gz
conf-cd16afbc9bfd2da7bd29cc1ad4fc83283494a044.zip
replace anyframe with the fzf history search plugin
it works with zsh and bash
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc10
1 files changed, 3 insertions, 7 deletions
diff --git a/zshrc b/zshrc
index 25bc92e..1655fb0 100644
--- a/zshrc
+++ b/zshrc
@@ -87,13 +87,9 @@ ZSH_HIGHLIGHT_STYLES[assign]='fg=cyan'
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=black,bold'
# }}}
-# anyframe {{{
-fpath=(~/.zsh/anyframe $fpath)
-autoload -Uz anyframe-init
-anyframe-init
-bindkey '^R' anyframe-widget-put-history
-zstyle ":anyframe:selector:" use fzf
-zstyle ":anyframe:selector:fzf:" command 'fzf --no-sort --exact'
+# fzf {{{
+source ~/.sh/fzf/shell/completion.zsh
+source ~/.sh/fzf/shell/key-bindings.zsh
# }}}
# }}}
# prompt {{{