]> arthur.barton.de Git - ax-zsh.git/commitdiff
New "axemoji" theme
authorAlexander Barton <alex@barton.de>
Mon, 10 Apr 2017 16:11:28 +0000 (18:11 +0200)
committerAlexander Barton <alex@barton.de>
Mon, 10 Apr 2017 16:11:28 +0000 (18:11 +0200)
themes/axemoji.axzshtheme [new file with mode: 0644]

diff --git a/themes/axemoji.axzshtheme b/themes/axemoji.axzshtheme
new file mode 100644 (file)
index 0000000..6b6930a
--- /dev/null
@@ -0,0 +1,15 @@
+# AX-ZSH: Alex' Modular ZSH Configuration
+# axemoji.axzshtheme: More fancy AX-ZSH Theme
+
+ZSH_THEME_PROMPT_PREFIX_SPACING=" "
+ZSH_THEME_PROMPT_SUFFIX_SPACING=" "
+
+ZSH_THEME_VCS_PROMPT_CLEAN="👌 "
+ZSH_THEME_VCS_PROMPT_DIRTY="👻 "
+
+PS1="🍀  $(ax_logname_prompt_yn)$(ax_hostname_prompt_yn)%B%2~%b"'$(ax_vcs_prompt)'"$(ax_prompt)"
+
+# Prompt on right side
+axzsh_is_utf_terminal \
+       && RPS1="%(?..%{$fg_no_bold[red]%}❌ %? ↵%{$reset_color%})" \
+       || RPS1="%(?..%{$fg_no_bold[red]%}<%?>%{$reset_color%})"