From 9260e16278bd556810180d79c1f23c65cafd292e Mon Sep 17 00:00:00 2001 From: penguin2048 Date: Mon, 21 May 2018 22:56:14 +0530 Subject: [PATCH 1/2] Add elixr theme --- themes/elixr/elixr.theme.bash | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 themes/elixr/elixr.theme.bash diff --git a/themes/elixr/elixr.theme.bash b/themes/elixr/elixr.theme.bash new file mode 100644 index 00000000..79ef313f --- /dev/null +++ b/themes/elixr/elixr.theme.bash @@ -0,0 +1,23 @@ +#!/usr/bin/env bash + +SCM_THEME_PROMPT_DIRTY=" ${red}✗" +SCM_THEME_PROMPT_CLEAN=" ${bold_green}✓" +SCM_THEME_PROMPT_PREFIX=" ${green}| " +SCM_THEME_PROMPT_SUFFIX="${green} |" +SCM_NONE_CHAR='◐ ' +SCM_GIT_SHOW_MINIMAL_INFO=true +GIT_THEME_PROMPT_DIRTY=" ${red}✗" +GIT_THEME_PROMPT_CLEAN=" ${bold_green}✓" +GIT_THEME_PROMPT_PREFIX=" ${green}|" +GIT_THEME_PROMPT_SUFFIX="${green}|" + +RVM_THEME_PROMPT_PREFIX="|" +RVM_THEME_PROMPT_SUFFIX=" d|" + +BOLD="\[\e[1m\]" + +function prompt_command() { + PS1="\n${bold_cyan}$(scm_prompt_char_info) ${bold_cyan}\w :${reset_color}${normal}${bold} " +} + +safe_append_prompt_command prompt_command From badc3beddfe3da239f9ed07a8245c817598373a7 Mon Sep 17 00:00:00 2001 From: penguin2048 Date: Mon, 21 May 2018 23:09:09 +0530 Subject: [PATCH 2/2] Add bold text in elixr theme --- themes/elixr/elixr.theme.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/elixr/elixr.theme.bash b/themes/elixr/elixr.theme.bash index 79ef313f..0e37f94c 100644 --- a/themes/elixr/elixr.theme.bash +++ b/themes/elixr/elixr.theme.bash @@ -17,7 +17,7 @@ RVM_THEME_PROMPT_SUFFIX=" d|" BOLD="\[\e[1m\]" function prompt_command() { - PS1="\n${bold_cyan}$(scm_prompt_char_info) ${bold_cyan}\w :${reset_color}${normal}${bold} " + PS1="\n${bold_cyan}$(scm_prompt_char_info) ${bold_cyan}\w :${reset_color}${normal}${BOLD} " } safe_append_prompt_command prompt_command