From 172bb418304eb4c513f8ae43dd72ff201a046b38 Mon Sep 17 00:00:00 2001 From: Markus Prinz Date: Sat, 3 Oct 2009 19:34:49 +0200 Subject: Add my (cypher's) zsh prompt Based on Evan's prompt, it uses colors, shows the exit status of the last command if it was non-zero, and displays "#" when running with elevated privileges --- themes/cypher.zsh-theme | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 themes/cypher.zsh-theme (limited to 'themes') diff --git a/themes/cypher.zsh-theme b/themes/cypher.zsh-theme new file mode 100644 index 000000000..36633da26 --- /dev/null +++ b/themes/cypher.zsh-theme @@ -0,0 +1,4 @@ +# Based on evan's prompt +# Shows the exit status of the last command if non-zero +# Uses "#" instead of "»" when running with elevated privileges +PROMPT="%m %B%F{red}::%b %B%F{green}%3~%(0?. . %F{red}%? )%F{red}%(0!.#.»)%b%F{white} " -- cgit v1.2.3-70-g09d2 From 8a8343b0de31f3adcd366fc0b9c113ee009287f0 Mon Sep 17 00:00:00 2001 From: xiongchiamiov Date: Mon, 5 Oct 2009 19:23:12 -0700 Subject: add xiong-chiamiov theme --- themes/xiong-chiamiov.zsh-theme | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 themes/xiong-chiamiov.zsh-theme (limited to 'themes') diff --git a/themes/xiong-chiamiov.zsh-theme b/themes/xiong-chiamiov.zsh-theme new file mode 100644 index 000000000..7c4c2e4f8 --- /dev/null +++ b/themes/xiong-chiamiov.zsh-theme @@ -0,0 +1,6 @@ +# user, host, full path, and time/date +# on two lines for easier vgrepping +# entry in a nice long thread on the Arch Linux forums: http://bbs.archlinux.org/viewtopic.php?pid=521888#p521888 +PROMPT=$'%{\e[0;34m%}%B┌─[%b%{\e[0m%}%{\e[1;32m%}%n%{\e[1;30m%}@%{\e[0m%}%{\e[0;36m%}%m%{\e[0;34m%}%B]%b%{\e[0m%} - %b%{\e[0;34m%}%B[%b%{\e[1;37m%}%~%{\e[0;34m%}%B]%b%{\e[0m%} - %{\e[0;34m%}%B[%b%{\e[0;33m%}'%D{"%a %b %d, %I:%M"}%b$'%{\e[0;34m%}%B]%b%{\e[0m%} +%{\e[0;34m%}%B└─%B[%{\e[1;35m%}$%{\e[0;34m%}%B]>%{\e[0m%}%b ' +PS2=$' \e[0;34m%}%B>%{\e[0m%}%b ' -- cgit v1.2.3-70-g09d2 From 9890bbb24d23e82bbc8f8fea9ffe423fc3eda12a Mon Sep 17 00:00:00 2001 From: Markus Prinz Date: Tue, 6 Oct 2009 23:19:43 +0200 Subject: Fix cypher's theme for older zsh versions --- themes/cypher.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes') diff --git a/themes/cypher.zsh-theme b/themes/cypher.zsh-theme index 36633da26..45df53d22 100644 --- a/themes/cypher.zsh-theme +++ b/themes/cypher.zsh-theme @@ -1,4 +1,4 @@ # Based on evan's prompt # Shows the exit status of the last command if non-zero # Uses "#" instead of "»" when running with elevated privileges -PROMPT="%m %B%F{red}::%b %B%F{green}%3~%(0?. . %F{red}%? )%F{red}%(0!.#.»)%b%F{white} " +PROMPT="%m %{${fg_bold[red]}%}:: %{${fg[green]}%}%3~%(0?. . ${fg[red]}%? )%{${fg[blue]}%}»%{${reset_color}%} " -- cgit v1.2.3-70-g09d2 From 069e9b8752ddaa85b0e21b8033f0c2075ac42f11 Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Thu, 8 Oct 2009 09:50:32 +1100 Subject: Add my own theme --- themes/wezm.zsh-theme | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 themes/wezm.zsh-theme (limited to 'themes') diff --git a/themes/wezm.zsh-theme b/themes/wezm.zsh-theme new file mode 100644 index 000000000..1881343b0 --- /dev/null +++ b/themes/wezm.zsh-theme @@ -0,0 +1,7 @@ +PROMPT='$(git_prompt_info)%(?,,%{${fg_bold[white]}%}[%?]%{$reset_color%} )%{$fg[yellow]%}%#%{$reset_color%} ' +RPROMPT='%{$fg[green]%}%~%{$reset_color%}' + +ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[blue]%}(" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " +ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%})%{$fg[red]%}⚡%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" -- cgit v1.2.3-70-g09d2