Skip to content

Commit 3553ed4

Browse files
author
Ira Abramov
committed
last touches followin automatic tests
1 parent 22ffac3 commit 3553ed4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

themes/mairan/mairan.theme.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ __my_rvm_ruby_version() {
6868
}
6969

7070
is_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

themes/powerturk/powerturk.theme.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ function powerline_scm_prompt {
160160
}
161161

162162
function 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
}

0 commit comments

Comments
 (0)