From 645fbebd4338035f26bc56544060fdc224924b5c Mon Sep 17 00:00:00 2001 From: PROGRAMMER <96710032+narasimha00@users.noreply.github.com> Date: Wed, 28 Feb 2024 12:26:35 +0530 Subject: [PATCH] Update robbyrussell.theme.sh Fixed trailing space bug --- themes/robbyrussell/robbyrussell.theme.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/themes/robbyrussell/robbyrussell.theme.sh b/themes/robbyrussell/robbyrussell.theme.sh index 2edb67b4e..6da774bee 100644 --- a/themes/robbyrussell/robbyrussell.theme.sh +++ b/themes/robbyrussell/robbyrussell.theme.sh @@ -5,20 +5,14 @@ # Example outside git repo: # ➜ ~ -# # Example inside clean git repo: # ➜ config-files git:(main) -# # Example inside dirty git repo: # ➜ config-files git:(main ?:1) ✗ -# # Example with virtual environment: # ➜ (env1) ~ -# # Example with virtual environment and inside git repo: # ➜ (env1) config-files git:(main) -# - # python_venv setup OMB_PROMPT_VIRTUALENV_FORMAT='(%s) ' OMB_PROMPT_SHOW_PYTHON_VENV=${OMB_PROMPT_SHOW_PYTHON_VENV:=true} @@ -29,11 +23,9 @@ function _omb_theme_PROMPT_COMMAND() { else local arrow_color="${_omb_prompt_bold_brown}" fi - # set the python_venv format local python_venv; _omb_prompt_get_python_venv python_venv="$_omb_prompt_olive$python_venv" - local base_directory="${_omb_prompt_bold_teal}\W${_omb_prompt_reset_color}" local GIT_THEME_PROMPT_PREFIX="${_omb_prompt_bold_navy}git:(${_omb_prompt_bold_brown}" local SVN_THEME_PROMPT_PREFIX="${_omb_prompt_bold_navy}svn:(${_omb_prompt_bold_brown}" @@ -41,7 +33,6 @@ function _omb_theme_PROMPT_COMMAND() { local SCM_THEME_PROMPT_SUFFIX="${_omb_prompt_reset_color}" local SCM_THEME_PROMPT_CLEAN="${_omb_prompt_bold_navy})${_omb_prompt_reset_color}" local SCM_THEME_PROMPT_DIRTY="${_omb_prompt_bold_navy}) ${_omb_prompt_olive}✗${_omb_prompt_reset_color}" - local arrow="${arrow_color}➜${_omb_prompt_reset_color}" PS1="${arrow} ${python_venv}${base_directory} "