Skip to content

Commit

Permalink
Fix colors for Solarized Dark
Browse files Browse the repository at this point in the history
  • Loading branch information
dreid committed Jul 21, 2011
1 parent feab6b2 commit c899a51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dreid.sh
Expand Up @@ -23,7 +23,7 @@ for file in ${FILES[*]}; do
echo -ne "Loading ${file}..."
pad " " $((53 - ${#file}))
source "${file}.sh" && \
echo -ne "${BLDGRN}\xe2\x98\x80" || \
echo -ne "${TXTGRN}\xe2\x98\x80" || \
echo -ne "${BLDRED}\xe2\x98\x81"

echo -e "${TXTRST} [$(($(date +%s) - START_TIME))s]"
Expand Down
5 changes: 3 additions & 2 deletions dreid/prompt.sh
Expand Up @@ -3,6 +3,7 @@ ALT_HOST_COLOR_BASES=(
$TXTCYN
$TXTPUR
$TXTYLW
$TXTBLU
$BLDBLK
$BLDGRN
$BLDCYN
Expand All @@ -18,7 +19,7 @@ ALT_HOST_COLOR_BASES=(
);

HOST_COLOR=$BLDRED;
USER_COLOR=$BLDBLU;
USER_COLOR=$TXTBLU;
case $TERM in
xterm*)
TITLE_STRING="\033]0;\u@\h:\w \$(__git_ps1 \" (%s)\")\007"
Expand All @@ -34,4 +35,4 @@ if [[ -n "${SSH_CONNECTION}" ]]; then
HOST_COLOR="\e[${ALT_HOST_COLOR_BASES[${base}]}"
fi

PS1="\[${TITLE_STRING}${HOST_COLOR}\]\h \[${USER_COLOR}\]\u\[${TXTRST}\]:\W\$(__git_ps1 \" (\[${BLDYLW}\]%s\[${TXTRST}\])\")> "
PS1="\[${TITLE_STRING}${HOST_COLOR}\]\h \[${USER_COLOR}\]\u\[${TXTRST}\]:\W\$(__git_ps1 \" (\[${TXTYLW}\]%s\[${TXTRST}\])\")> "

0 comments on commit c899a51

Please sign in to comment.