update zsh prompt

* update colors
* replaced the needs_push call with arrows indicating whether a pull or push is needed (Thanks, pure)
* clean up file and add comments
* update README with thorough description of prompt
* add section on ~/.zshrc to the README
This commit is contained in:
Nick Nisi
2015-10-25 11:21:45 -05:00
parent 476bfa4236
commit 14d538d9d3
3 changed files with 83 additions and 42 deletions

View File

@@ -7,11 +7,12 @@ export REPORTTIME=10
[[ -e ~/.terminfo ]] && export TERMINFO_DIRS=~/.terminfo:/usr/share/terminfo
# define the code directory
# This is where my code exists and where I want the `c` autocomplete to work from exclusively
if [[ -d ~/code ]]; then
export CODE_DIR=~/code
fi
# load all zsh config files
# source all .zsh files inside of the zsh/ directory
for config ($ZSH/**/*.zsh) source $config
if [[ -a ~/.localrc ]]; then
@@ -25,7 +26,7 @@ compinit
for config ($ZSH/**/*completion.sh) source $config
export EDITOR='vim'
export EDITOR='nvim'
export PATH=/usr/local/bin:$PATH