From 420400e9ce4d506dd1dd15f463e0e54d51cd5b7e Mon Sep 17 00:00:00 2001 From: Matt Bailey Date: Tue, 31 Jan 2012 14:59:59 -0700 Subject: [PATCH 1/3] my custom scripts --- custom/example.zsh | 5 ----- custom/example/example.plugin.zsh | 2 -- 2 files changed, 7 deletions(-) delete mode 100644 custom/example.zsh delete mode 100644 custom/example/example.plugin.zsh diff --git a/custom/example.zsh b/custom/example.zsh deleted file mode 100644 index 28ffcae25..000000000 --- a/custom/example.zsh +++ /dev/null @@ -1,5 +0,0 @@ -# Add yourself some shortcuts to projects you often work on -# Example: -# -# brainstormr=/Users/robbyrussell/Projects/development/planetargon/brainstormr -# \ No newline at end of file diff --git a/custom/example/example.plugin.zsh b/custom/example/example.plugin.zsh deleted file mode 100644 index 406f27445..000000000 --- a/custom/example/example.plugin.zsh +++ /dev/null @@ -1,2 +0,0 @@ -# Add your own custom plugins in the custom/plugins directory. Plugins placed -# here will override ones with the same name in the main plugins directory. From 0349a5f56969ca95d0d2f72b142c8c5a06591183 Mon Sep 17 00:00:00 2001 From: Matt Bailey Date: Tue, 31 Jan 2012 15:00:18 -0700 Subject: [PATCH 2/3] modified cloud theme --- themes/cloud+.zsh-theme | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 themes/cloud+.zsh-theme diff --git a/themes/cloud+.zsh-theme b/themes/cloud+.zsh-theme new file mode 100644 index 000000000..021330a63 --- /dev/null +++ b/themes/cloud+.zsh-theme @@ -0,0 +1,12 @@ +if [ $USER = 'root' ]; then + cloud='red' +else + cloud='cyan' +fi + +PROMPT='%{$fg_bold[${cloud}]%}%m ☁ %{$fg_bold[green]%}%p %? %{$fg[green]%}%c %{$fg_bold[cyan]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}' + +ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}[%{$fg[cyan]%}" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%}] %{$fg[yellow]%}⚡%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}]" From 31618e1ef4477da7dba1361ea5e540c25976c681 Mon Sep 17 00:00:00 2001 From: Matt Bailey Date: Tue, 31 Jan 2012 15:06:13 -0700 Subject: [PATCH 3/3] putting back the examples... --- custom/example.zsh | 5 +++++ custom/example/example.plugin.zsh | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 custom/example.zsh create mode 100644 custom/example/example.plugin.zsh diff --git a/custom/example.zsh b/custom/example.zsh new file mode 100644 index 000000000..28ffcae25 --- /dev/null +++ b/custom/example.zsh @@ -0,0 +1,5 @@ +# Add yourself some shortcuts to projects you often work on +# Example: +# +# brainstormr=/Users/robbyrussell/Projects/development/planetargon/brainstormr +# \ No newline at end of file diff --git a/custom/example/example.plugin.zsh b/custom/example/example.plugin.zsh new file mode 100644 index 000000000..406f27445 --- /dev/null +++ b/custom/example/example.plugin.zsh @@ -0,0 +1,2 @@ +# Add your own custom plugins in the custom/plugins directory. Plugins placed +# here will override ones with the same name in the main plugins directory.