From 2025d2f98b274ba8baf67f857eb06b86f6b9852c Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Mon, 19 May 2014 09:33:20 -0500 Subject: [PATCH] neato theme based on oh-my-zsh "candy" and bash-it "candy" and "bobby" themes --- themes/neato/neato.theme.bash | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 themes/neato/neato.theme.bash diff --git a/themes/neato/neato.theme.bash b/themes/neato/neato.theme.bash new file mode 100755 index 00000000..f76abac5 --- /dev/null +++ b/themes/neato/neato.theme.bash @@ -0,0 +1,18 @@ +#!/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}]" + +function prompt_command() { + # PS1="${green}\u@\h ${blue}\T ${reset_color}${white}\w${reset_color}$(scm_prompt_info)${blue} →${bold_blue} ${reset_color} "; + PS1="${bold_green}\u@\h ${bold_blue}[\T] ${reset_color}${white}[\w]${reset_color}$(scm_prompt_info)${blue}\n-> ${bold_blue}% ${reset_color}"; +} + +PROMPT_COMMAND=prompt_command;