From eb57086fe3efaa90cdee547ace364a2e9ff47c17 Mon Sep 17 00:00:00 2001 From: Gernot Poetsch Date: Mon, 15 Aug 2011 14:03:29 +0200 Subject: [PATCH] gernots theme --- README.textile | 4 ++-- themes/gernot.zsh-theme | 7 +++++++ tools/install.sh | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 themes/gernot.zsh-theme diff --git a/README.textile b/README.textile index 2dbfbe5a6..b1bfa1b1c 100644 --- a/README.textile +++ b/README.textile @@ -8,14 +8,14 @@ h2. Setup h3. The automatic installer... (do you trust me?) -@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/gernot/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/gernot/oh-my-zsh.git ~/.oh-my-zsh@ 2. Create a new zsh config by copying the zsh template we've provided. diff --git a/themes/gernot.zsh-theme b/themes/gernot.zsh-theme new file mode 100644 index 000000000..1c048c16f --- /dev/null +++ b/themes/gernot.zsh-theme @@ -0,0 +1,7 @@ +export EDITOR='mate -w' + +ZSH_THEME_GIT_PROMPT_PREFIX="(" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_DIRTY=") %{$fg[yellow]%}✗%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_CLEAN=")" +PROMPT='%{$fg_bold[white]%}%p %{$fg[green]%}%c %{$fg_bold[red]%}$(git_prompt_info)%{$fg_bold[red]%} % %{$reset_color%}' diff --git a/tools/install.sh b/tools/install.sh index aedb706da..62e42ad1e 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -5,7 +5,7 @@ then fi echo "\033[0;34mCloning Oh My Zsh...\033[0m" -/usr/bin/env git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh +/usr/bin/env git clone https://github.com/gernot/oh-my-zsh.git ~/.oh-my-zsh echo "\033[0;34mLooking for an existing zsh config...\033[0m" if [ -f ~/.zshrc ] || [ -h ~/.zshrc ]