diff options
| author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-04-20 21:15:33 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-04-20 21:15:33 +0800 |
| commit | 1a63d9340eecb22e6a89f520deaf46e1642f87c7 (patch) | |
| tree | 8bd81d206a7580763d5b4458a818a8ac895767f3 | |
| parent | e1b8f647c9a22beb2d4762d4ad2b2760fd51c1b5 (diff) | |
Update
| -rwxr-xr-x | tools/init/load-settings.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/init/load-settings.sh b/tools/init/load-settings.sh index 86397d6..99ab0b3 100755 --- a/tools/init/load-settings.sh +++ b/tools/init/load-settings.sh | |||
| @@ -13,8 +13,8 @@ shell=${shell##*/} | |||
| 13 | 13 | ||
| 14 | # fzf | 14 | # fzf |
| 15 | if which fzf &>/dev/null; then | 15 | if which fzf &>/dev/null; then |
| 16 | [ -f ~/.fzf.$shell ] && source ~/.fzf.$shell | ||
| 17 | fzf_preview() { fzf --preview 'cat {}'; } | 16 | fzf_preview() { fzf --preview 'cat {}'; } |
| 17 | source ~/.fzf.$shell &>/dev/null | ||
| 18 | fi | 18 | fi |
| 19 | 19 | ||
| 20 | if [[ $shell == zsh ]]; then | 20 | if [[ $shell == zsh ]]; then |