File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ __my_rvm_ruby_version() {
6868}
6969
7070is_vim_shell () {
71- if [[ ! -z " $VIMRUNTIME " ]]; then
71+ if [[ -n " $VIMRUNTIME " ]]; then
7272 echo " [${cyan?} vim shell${normal?} ]"
7373 fi
7474}
@@ -96,7 +96,7 @@ prompt() {
9696 # yes, these are the the same for now ...
9797 my_ps_host_root=" ${ORANGE} \h${normal?} "
9898
99- my_ps_user=" ${BOLD}${GREEN} \u${normal?} "
99+ my_ps_user=" ${BOLD}${GREEN? } \u${normal?} "
100100 my_ps_root=" ${bold_red?} \u${normal?} "
101101
102102 if [[ -n " $VIRTUAL_ENV " ]]; then
Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ function powerline_scm_prompt {
160160}
161161
162162function powerline_cwd_prompt {
163+ # shellcheck disable=SC2119
163164 CWD_PROMPT=" $( set_rgb_color " ${LAST_THEME_COLOR} " " ${CWD_THEME_PROMPT_COLOR} " ) ${THEME_PROMPT_SEPARATOR} $( set_rgb_color 0 " ${CWD_THEME_PROMPT_COLOR} " ) $( _swd) ${normal?} $( set_rgb_color " ${CWD_THEME_PROMPT_COLOR} " -) ${normal?} "
164165 LAST_THEME_COLOR=${CWD_THEME_PROMPT_COLOR}
165166}
You can’t perform that action at this time.
0 commit comments