Browse code

Renamed theme.

Murilo Soares Pereira authored on 24/11/2010 at 04:22:55
Showing 2 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,14 @@
0
+local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
1
+local user_host='%{$terminfo[bold]$fg[green]%}%n@%m%{$reset_color%}'
2
+local current_dir='%{$terminfo[bold]$fg[blue]%}%~%{$reset_color%}'
3
+local rvm_ruby='%{$fg[red]%}$(rvm_prompt_info)%{$reset_color%}'
4
+local git_branch='%{$fg[blue]%}$(git_prompt_info)%{$reset_color%}'
5
+
6
+PROMPT="${user_host}:${current_dir} ${rvm_ruby}
7
+${git_branch} %B$%b "
8
+RPS1="${return_code}"
9
+
10
+ZSH_THEME_GIT_PROMPT_PREFIX=""
11
+ZSH_THEME_GIT_PROMPT_SUFFIX=""
12
+ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}✗%{$reset_color%}"
13
+ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}✔%{$reset_color%}"
0 14
deleted file mode 100644
... ...
@@ -1,14 +0,0 @@
1
-local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
2
-local user_host='%{$terminfo[bold]$fg[green]%}%n@%m%{$reset_color%}'
3
-local current_dir='%{$terminfo[bold]$fg[blue]%}%~%{$reset_color%}'
4
-local rvm_ruby='%{$fg[red]%}$(rvm_prompt_info)%{$reset_color%}'
5
-local git_branch='%{$fg[blue]%}$(git_prompt_info)%{$reset_color%}'
6
-
7
-PROMPT="${user_host}:${current_dir} ${rvm_ruby}
8
-${git_branch} %B$%b "
9
-RPS1="${return_code}"
10
-
11
-ZSH_THEME_GIT_PROMPT_PREFIX=""
12
-ZSH_THEME_GIT_PROMPT_SUFFIX=""
13
-ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}✗%{$reset_color%}"
14
-ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}✔%{$reset_color%}"