From 2707af403a106ddf864d9c2bae2c5e2f9b07b05f Mon Sep 17 00:00:00 2001 From: Tanish Yadav Date: Fri, 24 Jun 2022 13:23:51 +0530 Subject: [PATCH] [shell] Don't export PATH in ~/.fzf.{bash,zsh} (#2852) There is no use exporting PATH when it is already exported. Moreover, it causes things like `typeset -U path` in zsh to break if done before sourcing "~/.fzf.zsh". --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install b/install index 4efc370..6d39abc 100755 --- a/install +++ b/install @@ -256,7 +256,7 @@ for shell in $shells; do # Setup fzf # --------- if [[ ! "\$PATH" == *$fzf_base_esc/bin* ]]; then - export PATH="\${PATH:+\${PATH}:}$fzf_base/bin" + PATH="\${PATH:+\${PATH}:}$fzf_base/bin" fi # Auto-completion