diff --git a/themes/gentoo-olipro.zsh-theme b/themes/gentoo-olipro.zsh-theme index e712a418c..a992da34e 100644 --- a/themes/gentoo-olipro.zsh-theme +++ b/themes/gentoo-olipro.zsh-theme @@ -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 diff --git a/tools/install.sh b/tools/install.sh index b080be3a1..e060bc060 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -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 }