Skip to content
Myr

Remove dependency on zsh/pcre module

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

Fixes #363.

authored by Austin Ziegler · committed by Austin Ziegler · parent 6a38d07 · Browse files · 2 files+4 added−4 removed
This commit

State

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

Diff stats

2 files+4 added−4 removed

  • other:+4 added−4 removed

2 files+4 added−4 removed

modified:shell/key-bindings.zsh+1 added-1 removed
modified:install+3 added-3 removed
183 unmodified lines
184for shell in bash zsh; do185 echo -n "Generate ~/.fzf.$shell ... "186 src=~/.fzf.${shell}187188 fzf_completion="[[ \$- =~ i ]] && source \"$fzf_base/shell/completion.${shell}\" 2> /dev/null"188 fzf_completion="[[ \$- == *i* ]] && source \"$fzf_base/shell/completion.${shell}\" 2> /dev/null"189 if [ $auto_completion -ne 0 ]; then190 fzf_completion="# $fzf_completion"191 fi192
4 unmodified lines
197198 cat > $src << EOF199# Setup fzf200# ---------201if [[ ! "\$PATH" =~ "$fzf_base/bin" ]]; then201if [[ ! "\$PATH" == *$fzf_base/bin* ]]; then202 export PATH="\$PATH:$fzf_base/bin"203fi204205# Man path206# --------207if [[ ! "\$MANPATH" =~ "$fzf_base/man" && -d "$fzf_base/man" ]]; then207if [[ ! "\$MANPATH" == *$fzf_base/man* && -d "$fzf_base/man" ]]; then208 export MANPATH="\$MANPATH:$fzf_base/man"209fi210211# Auto-completion
78 unmodified lines