[[ $ctr -le 20 ]] && print -C 1 $toprint || print -c $toprint
print -n "> "
read choice < /dev/tty
+[[ "$choice" = "q" ]] && exit
if [[ "$choice" = "*" ]]; then
buf=$fns
else
tmux has-session -t path-extractor && tmux kill-session -t path-extractor || :
tmux new-session -d -s path-extractor "
- ~/bin/path-extractor.zsh < /tmp/tmux-buffer
+ ~/bin/pe < /tmp/tmux-buffer
tmux detach
sleep 20
"
--- /dev/null
+let g:fzf_preview_window = []
export MYSQL_HISTFILE=/tmp/.mysql_history
export REDO_JOBS=0 REDO_NO_SYNC=1
export SHARNESS_TEST_SRCDIR=$HOME/local/stow/sharness/share/sharness
+export FZF_CTRL_T_COMMAND="print -C 1 **~.git/*"
+export FZF_DEFAULT_OPTS="--inline-info"
# }}}
. ~/work/zsh-autosuggestions/zsh-autosuggestions.zsh
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=cyan"
# }}}
+
+# fzf {{{
+. ~/work/fzf/shell/key-bindings.zsh
+# }}}