diff --git a/.bashrc b/.bashrc index cd84196..5536faa 100644 --- a/.bashrc +++ b/.bashrc @@ -249,12 +249,16 @@ setup-keychain() { _init() { # ─< fzf >──────────────────────────────────────────────────────────────────────────────── if command-exists fzf; then - eval "$(fzf --bash)" if $blesh; then ble-import -d integration/fzf-completion ble-import -d integration/fzf-key-bindings ble-import -d integration/fzf-menu + else + eval "$(fzf --bash)" || { + source-file "$HOME/.fzf/shell/completion.bash" + source-file "$HOME/.fzf/shell/key-bindings.bash" + } fi else echo-missing fzf @@ -418,15 +422,9 @@ main() { show-end-screen ble-import "$HOME/.bash_aliases" - ble-import "$HOME/.bash/plugins/autopairs.sh" + source-file -q "$HOME/.bash/plugins/autopairs.sh" + # ble-import "$HOME/.bash/plugins/autopairs.sh" # source-file -q "$HOME/.bash_aliases" - # source-file -q "$HOME/.bash/plugins/autopairs.sh" - - # fzf completions for bash - if command-exists fzf; then - source-file "$HOME/.fzf/shell/completion.bash" - source-file "$HOME/.fzf/shell/key-bindings.bash" - fi if command-exists keychain; then eval "$(keychain --eval --noask --agents ssh ~/.ssh/{homelab-id_rsa,hetzner_id_rsa})"