From 963fcf8ab670d22d546507ee1ca135722e923b56 Mon Sep 17 00:00:00 2001 From: pika Date: Sat, 5 Jul 2025 13:09:03 +0200 Subject: [PATCH] Fixed multiple blesh paths --- .bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index edbeee9..cb7f7d5 100644 --- a/.bashrc +++ b/.bashrc @@ -3,9 +3,10 @@ blesh=true if $blesh; then - [[ $- == *i* ]] && source /usr/share/blesh/ble.sh --noattach + [[ $- == *i* ]] && { source /usr/share/blesh/ble.sh --noattach || source "$HOME/.local/share/blesh/ble.sh" --noattach; } # Enable history expansion (!!, !$, etc.) in ble.sh bleopt history_expand_on_space=1 + # Make Tab expand history references (!!, !$, etc.) ble-bind -f 'TAB' 'complete/expand-history' fi