aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/init/load-settings.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/init/load-settings.sh')
-rwxr-xr-xbin/init/load-settings.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/init/load-settings.sh b/bin/init/load-settings.sh
index cd31f76..3263063 100755
--- a/bin/init/load-settings.sh
+++ b/bin/init/load-settings.sh
@@ -39,10 +39,12 @@ PATH=$PATH:$HOME/.yarn/bin
39 39
40# fzf 40# fzf
41if which fzf &>/dev/null; then 41if which fzf &>/dev/null; then
42 export FZF_COMPLETION_OPTS='--bind=ctrl-c:print-query'
43 export FZF_CTRL_T_OPTS='--no-multi --bind=ctrl-c:print-query'
44 export FZF_CTRL_R_OPTS='--bind=ctrl-c:print-query'
42 fzf_preview() { fzf --preview 'cat {}'; } 45 fzf_preview() { fzf --preview 'cat {}'; }
43 source ~/.fzf.${shell} &>/dev/null 46 source ~/.fzf.${shell}
44fi 47fi
45export FZF_CTRL_T_OPTS="--no-multi"
46 48
47# Set zsh or bash 49# Set zsh or bash
48if [[ $- =~ i ]]; then 50if [[ $- =~ i ]]; then