some more fixes, now featuring autopairs

This commit is contained in:
pika 2025-07-07 23:45:00 +02:00
parent 6c565c7bba
commit a6404be0c2

16
.bashrc
View file

@ -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})"