Commit 85e6b1bb authored by Nicolas Lenz's avatar Nicolas Lenz

Merge branch 'master' of git.eisfunke.com:config/zsh

parents d59b2dd0 6afdc0df
......@@ -16,12 +16,12 @@ PROMPT_CONNECTION=🌐 # Globe
# Colors
PROMPT_CTHEME= # Theme color. Is set by prompt_set_themecolor.
PROMPT_CPATH=237 # Path background color
PROMPT_CFONT=15 # Font color
PROMPT_CFAIL=1 # Failure red
PROMPT_CCLEAN=243
PROMPT_CCHANGE=203
PROMPT_CSTAGED=177
PROMPT_CPATH=#404040 # Path background color
PROMPT_CFONT=15 # Font color (white)
PROMPT_CFAIL=9 # Failure color (red)
PROMPT_CCLEAN=243 # VCS color, clean (gray)
PROMPT_CCHANGE=203 # VCS color, changed (light red)
PROMPT_CSTAGED=177 # VCS color, staged changes (light blue)
# Variables
PROMPT_EXIT=0
......@@ -182,16 +182,15 @@ function welcome_message {
function prompt_set_themecolor {
case $(cat /proc/sys/kernel/hostname) in
melissa) PROMPT_CTHEME=90;; # Dark Purple
miranda) PROMPT_CTHEME=208;; # Orange
mabel) PROMPT_CTHEME=133;; # Pink
sapphire) PROMPT_CTHEME=17;; # Dark Blue
melissa) PROMPT_CTHEME=#cc068e;; # Dark Pink
miranda) PROMPT_CTHEME=#e97300;; # Orange
sapphire) PROMPT_CTHEME=#102298;; # Dark Blue
ruby) PROMPT_CTHEME=160;; # Red
obsidian) PROMPT_CTHEME=233;; # Dark Gray
*) PROMPT_CTHEME=242;; # Gray
esac
}
function prompt_set_cvcs {
if [[ -z $vcs_info_msg_1_ && -z $vcs_info_msg_2_ ]] then
# There are no changes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment