Made fzf configuration more efficent

This commit is contained in:
alvinlollo
2025-01-30 05:50:47 +00:00
parent d61dc2c43a
commit a367a75a99
+7 -3
View File
@@ -83,9 +83,13 @@ curl -fsSL https://raw.githubusercontent.com/alvinlollo/Single-install-script/re
# Setup fzf # Setup fzf
mkdir -p ~/.fzf/shell mkdir -p ~/.fzf/shell
touch ~/.fzf/shell/key-bindings.zsh touch ~/.fzf/shell/key-bindings.zsh
source ~/.zshrc
source ~/.zshrc # Source .zshrc three times only if fzf has not been initialized
source ~/.zshrc if [ ! -f ~/.fzf/shell/key-bindings.zsh ]; then
for i in {1..3}; do
source ~/.zshrc
done
fi
# Do not print commands # Do not print commands
set +x set +x