Skip to content

Commit 524f160

Browse files
authored
Merge pull request #2229 from fox-forks/hyperupcall-clean-theme-elixr
2 parents 00ed183 + 937e50c commit 524f160

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

clean_files.txt

+1
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ themes/brainy
160160
themes/brunton
161161
themes/candy
162162
themes/easy
163+
themes/elixr
163164
themes/essential
164165
themes/githelpers.theme.bash
165166
themes/inretio

themes/elixr/elixr.theme.bash

+11-10
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
1-
#!/usr/bin/env bash
1+
# shellcheck shell=bash
2+
# shellcheck disable=SC2034 # Expected behavior for themes.
23

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?} |"
78
SCM_NONE_CHAR=''
89
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?}|"
1314

1415
RVM_THEME_PROMPT_PREFIX="|"
1516
RVM_THEME_PROMPT_SUFFIX=" d|"
1617

1718
BOLD="\[\e[1m\]"
1819

1920
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} "
2122
}
2223

2324
safe_append_prompt_command prompt_command

0 commit comments

Comments
 (0)