Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

yoo

  • Loading branch information...
commit e8c56920609b4863ff465e1a201345621831663d 1 parent e6a0b64
@seejohnrun authored
Showing with 10 additions and 19 deletions.
  1. +6 −10 .zsh/git-prompt/zshrc
  2. +4 −9 .zshrc
View
16 .zsh/git-prompt/zshrc
@@ -82,19 +82,15 @@ git_super_status() {
}
# Default values for the appearance of the prompt. Configure at will.
-GREEN=$'\033[38;5;71m'
-ORANGE=$'\033[38;5;173m'
-RED=$'\033[38;5;167m'
-BLUE=$'\033[38;5;111m'
ZSH_THEME_GIT_PROMPT_PREFIX=" ["
ZSH_THEME_GIT_PROMPT_SUFFIX="]"
ZSH_THEME_GIT_PROMPT_SEPARATOR=" "
-ZSH_THEME_GIT_PROMPT_BRANCH="$ORANGE"
-ZSH_THEME_GIT_PROMPT_STAGED="$BLUE*"
-ZSH_THEME_GIT_PROMPT_CONFLICTS="$RED!"
-ZSH_THEME_GIT_PROMPT_CHANGED="$BLUE*"
+ZSH_THEME_GIT_PROMPT_BRANCH="%F{green}"
+ZSH_THEME_GIT_PROMPT_STAGED="%F{blue}*"
+ZSH_THEME_GIT_PROMPT_CONFLICTS="%F{red}!"
+ZSH_THEME_GIT_PROMPT_CHANGED="%F{blue}*"
ZSH_THEME_GIT_PROMPT_REMOTE=""
-ZSH_THEME_GIT_PROMPT_UNTRACKED="$BLUE+"
-ZSH_THEME_GIT_PROMPT_CLEAN="$GREEN>"
+ZSH_THEME_GIT_PROMPT_UNTRACKED="%F{blue}+"
+ZSH_THEME_GIT_PROMPT_CLEAN="%F{green}>"
View
13 .zshrc
@@ -1,19 +1,14 @@
# Git Prompt
source $HOME/.zsh/git-prompt/zshrc
-# Solarized Colors
-BLACK=$'\033[0m'
-RED=$'\033[38;5;167m'
-GREEN=$'\033[38;5;71m'
-BLUE=$'\033[38;5;111m'
-YELLOW=$'\033[38;5;228m'
-ORANGE=$'\033[38;5;173m'
-
# Some custom search paths
export PATH="$HOME/Scripts:/usr/local/bin:$HOME/pear/bin:$PATH"
# Colors
+export TERM="rxvt"
export CLICOLOR=1
# Prompt
-PROMPT='$YELLOW${(%):-%~}%f$(git_super_status) %F{white}%#%f '
+autoload -U colors && colors
+autoload -U promptinit && promptinit
+PROMPT='%F{yellow}${(%):-%~}%f$(git_super_status) %F{white}%#%f '
Please sign in to comment.
Something went wrong with that request. Please try again.