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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user