File tree 2 files changed +12
-10
lines changed
2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ themes/brainy
160
160
themes/brunton
161
161
themes/candy
162
162
themes/easy
163
+ themes/elixr
163
164
themes/essential
164
165
themes/githelpers.theme.bash
165
166
themes/inretio
Original file line number Diff line number Diff line change 1
- #! /usr/bin/env bash
1
+ # shellcheck shell=bash
2
+ # shellcheck disable=SC2034 # Expected behavior for themes.
2
3
3
- SCM_THEME_PROMPT_DIRTY=" ${red} ✗"
4
- SCM_THEME_PROMPT_CLEAN=" ${bold_green} ✓"
5
- SCM_THEME_PROMPT_PREFIX=" ${green} | "
6
- SCM_THEME_PROMPT_SUFFIX=" ${green} |"
4
+ SCM_THEME_PROMPT_DIRTY=" ${red? } ✗"
5
+ SCM_THEME_PROMPT_CLEAN=" ${bold_green? } ✓"
6
+ SCM_THEME_PROMPT_PREFIX=" ${green? } | "
7
+ SCM_THEME_PROMPT_SUFFIX=" ${green? } |"
7
8
SCM_NONE_CHAR=' ◐ '
8
9
SCM_GIT_SHOW_MINIMAL_INFO=true
9
- GIT_THEME_PROMPT_DIRTY=" ${red} ✗"
10
- GIT_THEME_PROMPT_CLEAN=" ${bold_green} ✓"
11
- GIT_THEME_PROMPT_PREFIX=" ${green} |"
12
- GIT_THEME_PROMPT_SUFFIX=" ${green} |"
10
+ GIT_THEME_PROMPT_DIRTY=" ${red? } ✗"
11
+ GIT_THEME_PROMPT_CLEAN=" ${bold_green? } ✓"
12
+ GIT_THEME_PROMPT_PREFIX=" ${green? } |"
13
+ GIT_THEME_PROMPT_SUFFIX=" ${green? } |"
13
14
14
15
RVM_THEME_PROMPT_PREFIX=" |"
15
16
RVM_THEME_PROMPT_SUFFIX=" d|"
16
17
17
18
BOLD=" \[\e[1m\]"
18
19
19
20
function prompt_command() {
20
- PS1=" \n${bold_cyan} $( scm_prompt_char_info) $( virtualenv_prompt) ${bold_cyan} \w :${reset_color}${normal}${BOLD} "
21
+ PS1=" \n${bold_cyan? } $( scm_prompt_char_info) $( virtualenv_prompt) ${bold_cyan} \w :${reset_color? }${normal? }${BOLD} "
21
22
}
22
23
23
24
safe_append_prompt_command prompt_command
You can’t perform that action at this time.
0 commit comments