mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
themes: Make PROMPT_COMMAND usage consistent for reloading OMB
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user