Skip to content

Commit

Permalink
edit: fix exit status of Bash by key binding "C-d"
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Jan 11, 2020
1 parent 9021afe commit bd149e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/edit.sh
Expand Up @@ -2612,8 +2612,8 @@ function ble/widget/exit {
ble/util/buffer.flush >&2

# Note: ジョブが残っている場合でも強制終了させる為 2 回連続で呼び出す必要がある。
builtin exit "$ext" &>/dev/null
builtin exit "$ext" &>/dev/null
builtin exit 0 &>/dev/null
builtin exit 0 &>/dev/null
return 1
}
function ble/widget/delete-forward-char-or-exit {
Expand Down

0 comments on commit bd149e8

Please sign in to comment.