modified theme and altered installer for my repo

This commit is contained in:
Oliver 2012-08-20 17:34:19 +02:00
commit 3ee2a45a2f
2 changed files with 1 additions and 6 deletions

View file

@ -23,11 +23,6 @@ theme_precmd () {
setopt prompt_subst
#PROMPT='%B%F{magenta}%c%B%F{green}${vcs_info_msg_0_}%B%F{magenta} %{$reset_color%}%% '
if [[ -z ${vcs_info_msg_0} ]] {
PROMPT='%(!.%{$fg_bold[red]%}.%{$fg_bold[green]%}%n@)%m %{$fg_bold[blue]%}%(!.%1~.%~) %#%{$reset_color%} '
} else {
PROMPT='%(!.%{$fg_bold[red]%}.%{$fg_bold[green]%}%n@)%m %{$fg_bold[blue]%}%(!.%1~.%~)${vcs_info_msg_0_}%#%{$reset_color%} '
}
autoload -U add-zsh-hook
add-zsh-hook precmd theme_precmd

View file

@ -5,7 +5,7 @@ then
fi
echo "\033[0;34mCloning Oh My Zsh...\033[0m"
hash git >/dev/null && /usr/bin/env git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh || {
hash git >/dev/null && /usr/bin/env git clone https://github.com/Olipro/oh-my-zsh.git ~/.oh-my-zsh || {
echo "git not installed"
exit
}