lib/preexec: adobt `_bash_it_library_finalize_hook`
Schedule modification of `$PROMPT_COMMAND` for after everything has loaded.pull/2073/head
parent
6b08284928
commit
a93919625d
|
|
@ -20,8 +20,8 @@ function __bp_require_not_readonly() { :; }
|
||||||
# Disable trap DEBUG on subshells - https://github.com/Bash-it/bash-it/pull/1040
|
# Disable trap DEBUG on subshells - https://github.com/Bash-it/bash-it/pull/1040
|
||||||
__bp_enable_subshells= # blank
|
__bp_enable_subshells= # blank
|
||||||
|
|
||||||
# Modify `$PROMPT_COMMAND` now
|
# Modify `$PROMPT_COMMAND` in finalize hook
|
||||||
__bp_install_after_session_init
|
_bash_it_library_finalize_hook+=('__bp_install_after_session_init')
|
||||||
|
|
||||||
## Helper functions
|
## Helper functions
|
||||||
function __check_precmd_conflict() {
|
function __check_precmd_conflict() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue