diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2015-03-26 03:44:18 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-03-26 03:44:18 +0900 |
commit | fdaa4e9b18a761dd0c60a1d4429c9f6c3eb58c96 (patch) | |
tree | 6f4090b7dcb40c093f2001f017c908a4cd1b3a5b /install | |
parent | 91876e98cd361c627664502f9da5e34f726d7f73 (diff) |
Append (not prepend) bin directory to PATH
Prepending can be problematic when the user install fzf using Homebrew,
execute the install script, and later upgrade fzf with Homebrew, and do
not rerun the install script. In that case, even though the homebrew
package is upgraded, the older version will still be used.
Diffstat (limited to 'install')
-rwxr-xr-x | install | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -181,7 +181,7 @@ for shell in bash zsh; do # Setup fzf # --------- if [[ ! "\$PATH" =~ "$fzf_base/bin" ]]; then - export PATH="$fzf_base/bin:\$PATH" + export PATH="\$PATH:$fzf_base/bin" fi # Man path |