Skip to content

Commit

Permalink
edit: fix a bug that the shell hangs with "source ble.sh && PROMPT_CO…
Browse files Browse the repository at this point in the history
…MMAND="
  • Loading branch information
akinomyoga committed Jan 18, 2020
1 parent 8e1ae73 commit 896fa3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/edit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7095,7 +7095,7 @@ function ble-edit/bind/.check-detach {
ble-detach
fi

if [[ $_ble_edit_detach_flag ]]; then
if [[ $_ble_edit_detach_flag || ! $_ble_attached ]]; then
type=$_ble_edit_detach_flag
_ble_edit_detach_flag=
#ble/term/visible-bell ' Bye!! '
Expand Down

0 comments on commit 896fa3b

Please sign in to comment.