make alt-c work for fzf

Alpha Chen 3 years ago
parent 691c448cac
commit 6e249b6093

@ -64,6 +64,9 @@ if [ $commands[fzf] ]; then
export FZF_ALT_C_COMMAND="find . -type d" export FZF_ALT_C_COMMAND="find . -type d"
# alias fzf=fzf-tmux # alias fzf=fzf-tmux
# https://github.com/junegunn/fzf/issues/164#issuecomment-581837757
bindkey "ç" fzf-cd-widget
z() { z() {
[ $# -gt 0 ] && fasd_cd -d "$*" && return [ $# -gt 0 ] && fasd_cd -d "$*" && return
local dir local dir

Loading…
Cancel
Save