From 6e249b6093335b59dd011928c5638b18e248c8fe Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Tue, 16 Nov 2021 12:51:26 -0800 Subject: [PATCH] make alt-c work for fzf --- runcoms/zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runcoms/zshrc b/runcoms/zshrc index 22de256..6c18801 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -64,6 +64,9 @@ if [ $commands[fzf] ]; then export FZF_ALT_C_COMMAND="find . -type d" # alias fzf=fzf-tmux + # https://github.com/junegunn/fzf/issues/164#issuecomment-581837757 + bindkey "รง" fzf-cd-widget + z() { [ $# -gt 0 ] && fasd_cd -d "$*" && return local dir