From 36868f612ea197472e0423e661e1ac41f0e0693f Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Wed, 30 Sep 2015 17:39:29 -0600 Subject: [PATCH] Creates my custom theme. --- themes/ninjedi/ninjedi.theme.bash | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 themes/ninjedi/ninjedi.theme.bash diff --git a/themes/ninjedi/ninjedi.theme.bash b/themes/ninjedi/ninjedi.theme.bash new file mode 100644 index 00000000..01b7c286 --- /dev/null +++ b/themes/ninjedi/ninjedi.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=" |" +SCM_THEME_PROMPT_SUFFIX="${green}|" + +GIT_THEME_PROMPT_DIRTY=" ${red}✗" +GIT_THEME_PROMPT_CLEAN=" ${bold_green}✓" +GIT_THEME_PROMPT_PREFIX=" ${green}|" +GIT_THEME_PROMPT_SUFFIX="${green}|" + +SCM_GIT_UNTRACKED_CHAR="${orange}?:" +SCM_GIT_UNSTAGED_CHAR="${red}U:" +SCM_GIT_STAGED_CHAR="${green}S:" + +RVM_THEME_PROMPT_PREFIX="|" +RVM_THEME_PROMPT_SUFFIX="|" + +function prompt_command() { + PS1="${purple}\u${cyan}@${purple}\h${bold_purple} \n${yellow}$(ruby_version_prompt) ${bold_cyan}\w${green}$(scm_prompt_info) ${bold_green}\$${reset_color}" +} + +PROMPT_COMMAND=prompt_command;