-
Notifications
You must be signed in to change notification settings - Fork 966
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #364 from Ramon-Balaguer/master
Add new theme 1row solarized lamda
- Loading branch information
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# This is an alternative approach. Single line in git repo. | ||
# Theme optimised for Terminus and PowerLine compatible fonts. | ||
# This theme for gitprompt.sh is optimized for the "Solarized Dark" and "Solarized Light" color schemes | ||
# without the indicator of the last command state | ||
# tweaked for Ubuntu terminal fonts | ||
|
||
|
||
define_helpers() { | ||
YELLOW=$(tput setaf 3) | ||
PathShort="\[$YELLOW\][\A] ${Cyan}\w" | ||
} | ||
|
||
override_git_prompt_colors() { | ||
YELLOW=$(tput setaf 3) | ||
ORANGE=$(tput setaf 9) | ||
RED=$(tput setaf 1) | ||
MAGENTA=$(tput setaf 5) | ||
VIOLET=$(tput setaf 13) | ||
BLUE=$(tput setaf 4) | ||
CYAN=$(tput setaf 6) | ||
GREEN=$(tput setaf 2) | ||
BOLD=$(tput bold) | ||
RESET=$(tput sgr0) | ||
|
||
|
||
GIT_PROMPT_THEME_NAME="Single_line_Solarized_Lamda" | ||
|
||
|
||
GIT_PROMPT_PREFIX="[ " | ||
GIT_PROMPT_SUFFIX=" ]" | ||
GIT_PROMPT_SEPARATOR=" |" | ||
GIT_PROMPT_STAGED=" ${Yellow}● ${ResetColor}" | ||
GIT_PROMPT_CONFLICTS=" ${Red}✖ ${ResetColor}" | ||
GIT_PROMPT_CHANGED=" ${Blue}✚ ${ResetColor}" | ||
GIT_PROMPT_UNTRACKED=" ${Cyan}…${ResetColor}" | ||
GIT_PROMPT_STASHED=" ${BoldMagenta}⚑ ${ResetColor}" | ||
GIT_PROMPT_CLEAN=" ${Green}✔ ${ResetColor}" | ||
|
||
GIT_PROMPT_COMMAND_FAIL="${Red}✘" | ||
|
||
GIT_PROMPT_START_USER="_LAST_COMMAND_INDICATOR_ ${Yellow}${PathShort}${ResetColor}" | ||
GIT_PROMPT_END_USER="\[$ORANGE\] λ ${ResetColor}" | ||
GIT_PROMPT_END_ROOT="${BoldRed} # ${ResetColor}" | ||
|
||
GIT_PROMPT_SYMBOLS_NO_REMOTE_TRACKING="✭" | ||
} | ||
|
||
reload_git_prompt_colors "Single_line_Solarized_Lamda" |