diff options
Diffstat (limited to 'bin/init/load-settings.sh')
-rwxr-xr-x | bin/init/load-settings.sh | 6 |
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 |
41 | if which fzf &>/dev/null; then | 41 | if 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} |
44 | fi | 47 | fi |
45 | export FZF_CTRL_T_OPTS="--no-multi" | ||
46 | 48 | ||
47 | # Set zsh or bash | 49 | # Set zsh or bash |
48 | if [[ $- =~ i ]]; then | 50 | if [[ $- =~ i ]]; then |