fixed fzf with blesh integration

This commit is contained in:
pika 2025-07-07 23:23:11 +02:00
parent db0900c37e
commit a32961d043
3 changed files with 8 additions and 3 deletions

View file

@ -427,7 +427,7 @@ setup-alias() {
fi
case $commit_files in
'./.') commit_message="wip" ;;
'./.') ;;
*)
local trimmed_files

View file

@ -239,6 +239,12 @@ _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
fi
else
echo-missing fzf
fi

3
.blerc
View file

@ -239,8 +239,7 @@ bleopt prompt_rps1_transient=''
#bleopt prompt_ruler= # no ruler (default)
#bleopt prompt_ruler=empty-line # empty line
bleopt prompt_ruler=$'\e[1m\e[90m' # blue line
bleopt prompt_ruler=$'\e[1m\e[90m─' # blue line
## "prompt_command_changes_layout" specifies whether the commands called from
## the blehook PRECMD or the variable PROMPT_COMMAND output texts to the