Skip to content
Myr

[install] Avoid generating empty component in $PATH

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

Fix #1517

authored by Junegunn Choi · committed by Junegunn Choi · parent 85c1f8a · Browse files · 1 file+1 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+1 added−2 removed

  • other:+1 added−2 removed

1 file+1 added−2 removed

modified:install+1 added-2 removed
270 unmodified lines
271 cat > "$src" << EOF272# Setup fzf273# ---------274if [[ ! "\$PATH" == *$fzf_base_esc/bin* ]]; then275 export PATH="\$PATH:$fzf_base/bin"275 export PATH="\${PATH:+\${PATH}:}$fzf_base/bin"276fi277278# Auto-completion279# ---------------
1 unmodified line
281282# Key bindings283# ------------284$fzf_key_bindings285285EOF286 echo "OK"287done288
106 unmodified lines