Skip to content

Commit

Permalink
edit: fix the restore failure of "PS1" and "PROMPT_COMMAND" on "ble-d…
Browse files Browse the repository at this point in the history
…etach"
  • Loading branch information
akinomyoga committed Jul 7, 2022
1 parent 30440b2 commit 4f4c924
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/edit.sh
Expand Up @@ -674,9 +674,9 @@ function ble-edit/prompt/update {
# update PS1
if ((_ble_textarea_panel==0)); then # 補助プロンプトに対しては PROMPT_COMMAND は実行しない
if [[ $PROMPT_COMMAND ]]; then
ble-edit/restore-PS1
((_ble_edit_attached)) && ble-edit/restore-PS1
ble-edit/prompt/update/.eval-prompt_command
ble-edit/adjust-PS1
((_ble_edit_attached)) && ble-edit/adjust-PS1
fi
fi
local trace_hash esc
Expand Down

0 comments on commit 4f4c924

Please sign in to comment.