Skip to content
Myr

zsh widget fix

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* fzf-cd-widget properly escapes the special characters

authored by Wojciech Siewierski · committed by Wojciech Siewierski · parent a6f7caf · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:README.md+2 added-2 removed
194 unmodified lines
195bindkey '^T' fzf-file-widget196197# ALT-C - cd into the selected directory198fzf-cd-widget() {199 cd ${$(find * -path '*/\.*' -prune \200 -o -type d -print 2> /dev/null | fzf):-.}199 cd "${$(find * -path '*/\.*' -prune \200 -o -type d -print 2> /dev/null | fzf):-.}"201 zle reset-prompt202}203zle -N fzf-cd-widget204bindkey '\ec' fzf-cd-widget
46 unmodified lines