We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11c512e commit 96d5ca3Copy full SHA for 96d5ca3
snowflake.zsh-theme
@@ -1,10 +1,15 @@
1
get_time(){
2
- echo '%S%t %s'
+ echo '%S %* %s'
3
}
4
5
snowflake_icon(){
6
echo '%{$fg[white]%}❄%{$reset_color%}'
7
8
9
-PROMPT="$(snowflake_icon) %(?.%{$fg_bold[cyan]%}➜.%{$fg_bold[red]%}➜%f) %{$reset_color%}"
+# show red arrow on error otherwise green arrow
10
+get_arrow(){
11
+ echo '%(?.%{$fg_bold[cyan]%}➜.%{$fg_bold[red]%}➜%f) %{$reset_color%}'
12
+}
13
+
14
+PROMPT="$(snowflake_icon) "
15
RPROMPT='$(get_time) %{$reset_color%}'
0 commit comments