diff --git a/README.textile b/README.textile index a38e2d7cf..60d24ea08 100644 --- a/README.textile +++ b/README.textile @@ -13,18 +13,18 @@ You can install this via the command line with either `curl` or `wget`. h4. via `curl` -@curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh@ +@curl -L https://github.com/thenickperson/oh-my-zsh/raw/master/tools/install.sh | sh@ h4. via `wget` -@wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh@ +@wget --no-check-certificate https://github.com/thenickperson/oh-my-zsh/raw/master/tools/install.sh -O - | sh@ h3. The manual way 1. Clone the repository - @git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh@ + @git clone git://github.com/thenickperson/oh-my-zsh.git ~/.oh-my-zsh@ 2. Create a new zsh config by copying the zsh template we've provided. diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh old mode 100644 new mode 100755 diff --git a/themes/simplyblue.zsh-theme b/themes/simplyblue.zsh-theme new file mode 100644 index 000000000..24e64b98a --- /dev/null +++ b/themes/simplyblue.zsh-theme @@ -0,0 +1,13 @@ +PROMPT='$(ssh_connection)%{$fg_bold[blue]%}%~ $(git_prompt_info)%{$fg_bold[yellow]%}➜ %{$reset_color%}' +RPROMPT='%{$fg_bold[blue]%}%T%{$reset_color%}' + +function ssh_connection() { + if [[ -n $SSH_CONNECTION ]]; then + echo "%{$fg_bold[red]%}$(hostname) " + fi +} + +ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[cyan]%}" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " +ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}✗%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}✔%{$reset_color%}" diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh old mode 100644 new mode 100755 diff --git a/tools/install.sh b/tools/install.sh index b080be3a1..570673491 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/thenickperson/oh-my-zsh.git ~/.oh-my-zsh || { echo "git not installed" exit } diff --git a/tools/uninstall.sh b/tools/uninstall.sh old mode 100644 new mode 100755 diff --git a/tools/upgrade.sh b/tools/upgrade.sh old mode 100644 new mode 100755