From c5ab5c46f3d71c20b5f2c3f08d9758d613c3b3b9 Mon Sep 17 00:00:00 2001 From: dylnhdsn Date: Sun, 22 Apr 2012 13:32:11 -0700 Subject: [PATCH 1/5] Update README.textile --- README.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.textile b/README.textile index bf6776665..d63c1ffe6 100644 --- a/README.textile +++ b/README.textile @@ -12,7 +12,7 @@ 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/dylnhdsn/oh-my-zsh/raw/master/tools/install.sh | sh@ h4. via `wget` From f92a794055f12889aaa826d0ee6bb7b54d841816 Mon Sep 17 00:00:00 2001 From: Dylan Hudson Date: Sun, 22 Apr 2012 21:10:03 -0700 Subject: [PATCH 2/5] modified the zshrc template and added a custom theme --- templates/zshrc.zsh-template | 10 +++++++--- themes/dylan.zsh-theme | 8 ++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 themes/dylan.zsh-theme diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template index e52553241..5e942c933 100644 --- a/templates/zshrc.zsh-template +++ b/templates/zshrc.zsh-template @@ -8,8 +8,8 @@ ZSH=$HOME/.oh-my-zsh ZSH_THEME="robbyrussell" # Example aliases -# alias zshconfig="mate ~/.zshrc" -# alias ohmyzsh="mate ~/.oh-my-zsh" +alias zshconfig="st ~/.zshrc" +alias ohmyzsh="st ~/.oh-my-zsh" # Set to this to use case-sensitive completion # CASE_SENSITIVE="true" @@ -29,8 +29,12 @@ ZSH_THEME="robbyrussell" # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) -plugins=(git) +plugins=(git sublime) source $ZSH/oh-my-zsh.sh # Customize to your needs... +export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/libexec + +PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting +[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" \ No newline at end of file diff --git a/themes/dylan.zsh-theme b/themes/dylan.zsh-theme new file mode 100644 index 000000000..570013c4b --- /dev/null +++ b/themes/dylan.zsh-theme @@ -0,0 +1,8 @@ +# Yay! High voltage and arrows! + +ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[blue]%} (" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg[blue]%})%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}*%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_CLEAN="" + +PROMPT='%{$fg[green]%}%1~%{$reset_color%}%{$fg[red]%}:$(git_prompt_info) %{$fg[cyan]%}->%{$reset_color%} ' From c329762478dad8657611b8fb5e743c7402e23e27 Mon Sep 17 00:00:00 2001 From: Dylan Date: Tue, 19 Jun 2012 13:48:59 -0700 Subject: [PATCH 3/5] a theme that looks like coffeescript --- plugins/powder/_powder | 4 ---- themes/dylan.zsh-theme | 8 +++----- 2 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 plugins/powder/_powder diff --git a/plugins/powder/_powder b/plugins/powder/_powder deleted file mode 100644 index 84e260a15..000000000 --- a/plugins/powder/_powder +++ /dev/null @@ -1,4 +0,0 @@ -#compdef powder -#autoload - -compadd `powder help | grep powder | cut -d " " -f 4` diff --git a/themes/dylan.zsh-theme b/themes/dylan.zsh-theme index 570013c4b..74cf6b2bc 100644 --- a/themes/dylan.zsh-theme +++ b/themes/dylan.zsh-theme @@ -1,8 +1,6 @@ -# Yay! High voltage and arrows! - -ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[blue]%} (" -ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg[blue]%})%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%} (" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%})%{$reset_color%}" ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}*%{$reset_color%}" ZSH_THEME_GIT_PROMPT_CLEAN="" -PROMPT='%{$fg[green]%}%1~%{$reset_color%}%{$fg[red]%}:$(git_prompt_info) %{$fg[cyan]%}->%{$reset_color%} ' +PROMPT='%{$fg[cyan]%}%1~%{$reset_color%}%{$fg[yellow]%}:%{$fg[black]%}$(git_prompt_info) ->%{$reset_color%} ' From 68c1222f8d1e201b48322e2349a909f6f12433e8 Mon Sep 17 00:00:00 2001 From: Dylan Date: Tue, 19 Jun 2012 13:49:07 -0700 Subject: [PATCH 4/5] a theme that looks like coffeescript --- themes/{dylan.zsh-theme => coffee.zsh-theme} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename themes/{dylan.zsh-theme => coffee.zsh-theme} (100%) diff --git a/themes/dylan.zsh-theme b/themes/coffee.zsh-theme similarity index 100% rename from themes/dylan.zsh-theme rename to themes/coffee.zsh-theme From 9f86cf313f6051645c323a57be4c85ade60fe6b4 Mon Sep 17 00:00:00 2001 From: Dylan Date: Tue, 19 Jun 2012 13:52:24 -0700 Subject: [PATCH 5/5] added a credit comment --- themes/coffee.zsh-theme | 1 + 1 file changed, 1 insertion(+) diff --git a/themes/coffee.zsh-theme b/themes/coffee.zsh-theme index 74cf6b2bc..051ad3c5e 100644 --- a/themes/coffee.zsh-theme +++ b/themes/coffee.zsh-theme @@ -1,3 +1,4 @@ +# Coffeescript Theme by Dylan Hudson (@dyln_hdsn on twitter) ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%} (" ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%})%{$reset_color%}" ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}*%{$reset_color%}"