make alt-c work for fzf

main
Alpha Chen 3 years ago
parent 4d3379c69f
commit 3465543d98
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

@ -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