Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 905bd903b2
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (16 sloc) 0.509 kB
# adds the current branch name in green
#git_prompt_info() {
# ref=$(git symbolic-ref HEAD 2> /dev/null)
# if [[ -n $ref ]]; then
# echo "[%{$fg_bold[green]%}${ref#refs/heads/}%{$reset_color%}]"
# fi
#}
# makes color constants available
autoload -U colors
colors
# enable colored output from ls, etc
export CLICOLOR=1
# expand functions in the prompt
setopt prompt_subst
# prompt
# export PS1='$(git_prompt_info)[${SSH_CONNECTION+"%{$fg_bold[green]%}%n@%m:"}%{$fg_bold[blue]%}%~%{$reset_color%}] '
Jump to Line
Something went wrong with that request. Please try again.