diff --git a/shell/key-bindings.bash b/shell/key-bindings.bash index d543428..ee79cc3 100644 --- a/shell/key-bindings.bash +++ b/shell/key-bindings.bash @@ -29,7 +29,7 @@ __fzf_select_tmux__() { __fzf_cd__() { local dir - dir=$(command find -L ${1:-.} \( -path '*/\.*' -o -fstype 'dev' -o -fstype 'proc' \) -prune \ + dir=$(command \find -L ${1:-.} \( -path '*/\.*' -o -fstype 'dev' -o -fstype 'proc' \) -prune \ -o -type d -print 2> /dev/null | sed 1d | cut -b3- | $(__fzfcmd) +m) && printf 'cd %q' "$dir" }