themes: Make PROMPT_COMMAND usage consistent for reloading OMB

This commit is contained in:
Koichi Murase
2022-01-11 12:40:43 +09:00
parent c3bcc5c6d2
commit 7f420263b2
65 changed files with 184 additions and 141 deletions

View File

@@ -50,4 +50,5 @@ IN_VIM_THEME_PROMPT_TEXT="vim"
POWERLINE_LEFT_PROMPT=${POWERLINE_LEFT_PROMPT:="scm python_venv ruby cwd"}
POWERLINE_RIGHT_PROMPT=${POWERLINE_RIGHT_PROMPT:="in_vim clock battery user_info"}
_omb_util_add_prompt_command __powerline_prompt_command
_omb_theme_PROMPT_COMMAND() { __powerline_prompt_command "$@"; }
_omb_util_add_prompt_command _omb_theme_PROMPT_COMMAND