Fixed multiple blesh paths

This commit is contained in:
pika 2025-07-05 13:09:03 +02:00
parent 20bbd3349c
commit 963fcf8ab6

View file

@ -3,9 +3,10 @@
blesh=true blesh=true
if $blesh; then 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 # Enable history expansion (!!, !$, etc.) in ble.sh
bleopt history_expand_on_space=1 bleopt history_expand_on_space=1
# Make Tab expand history references (!!, !$, etc.) # Make Tab expand history references (!!, !$, etc.)
ble-bind -f 'TAB' 'complete/expand-history' ble-bind -f 'TAB' 'complete/expand-history'
fi fi