diff options
| author | Paul Buetow <git@mx.buetow.org> | 2021-02-02 07:41:06 +0000 |
|---|---|---|
| committer | Paul Buetow <git@mx.buetow.org> | 2021-02-02 07:41:06 +0000 |
| commit | 1ca97670c6c998ed4cf8de225b089a53f04586ef (patch) | |
| tree | aa8d2bdb53a068e18cd1ad122f3957af6912977d | |
| parent | c3493b103fb35ee852c13b67c709f25f93267483 (diff) | |
add clihive integration for gathering results
| -rw-r--r-- | fzf-integration.source.zsh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fzf-integration.source.zsh b/fzf-integration.source.zsh new file mode 100644 index 0000000..38a1d27 --- /dev/null +++ b/fzf-integration.source.zsh @@ -0,0 +1,6 @@ +INITIAL_QUERY="" +CLIHIVE_PREFIX="wc <<< " +FZF_DEFAULT_COMMAND="$CLIHIVE_PREFIX '$INITIAL_QUERY'" \ + fzf --bind "change:reload:$CLIHIVE_PREFIX {q} || true" \ + --ansi --disabled --query "$INITIAL_QUERY" \ + --height=50% --layout=reverse |
