mirror of
https://github.com/alvinlollo/Single-install-script.git
synced 2026-06-15 03:04:26 +10:00
Made fzf configuration more efficent
This commit is contained in:
+7
-3
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user