akinomyoga / blesh-contrib

Source of settings for Bash Line Editor https://github.com/akinomyoga/ble.sh (for ble-0.4+)
BSD 3-Clause "New" or "Revised" License
37 stars 11 forks source link

redundant fzf path in documentation for setup. use var to simplify #7

Closed walkabout21 closed 2 years ago

walkabout21 commented 2 years ago
# fzf.bash

# Setup fzf
# ---------
_ble_contrib_fzf_base=/path/to/fzf-directory
if [[ ! "$PATH" == *"$_ble_contrib_fzf_base/bin"* ]]; then
  export PATH="${PATH:+${PATH}:}/path/to/fzf-directory/bin"

should be


_ble_contrib_fzf_base=/path/to/fzf-directory
if [[ ! "$PATH" == *"$_ble_contrib_fzf_base/bin"* ]]; then
export PATH="${PATH:+${PATH}:}$_ble_contrib_fzf_base/bin"
fi
akinomyoga commented 2 years ago

Thanks for the report! I've applied it in commit 9ca11dab1160f078dd819e4cd9ae634294e4202b.