From 41f40e3bcf1cbab08207be7eee25d5c858859178 Mon Sep 17 00:00:00 2001 From: tcya Date: Mon, 14 Mar 2016 12:06:00 -0500 Subject: [PATCH] Add ASCII art theme --- themes/ASCII_art.zsh-theme | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 themes/ASCII_art.zsh-theme diff --git a/themes/ASCII_art.zsh-theme b/themes/ASCII_art.zsh-theme new file mode 100644 index 000000000..867900e9c --- /dev/null +++ b/themes/ASCII_art.zsh-theme @@ -0,0 +1,24 @@ +# An ASCII art theme + +# color vars +local my_gray=$FG[237] +local my_orange=$FG[214] + +# Faces "%" is needed to escape ")" +local -a happy_faces +happy_faces=('⎝(◕u◕%)⎠' '⎝( OωO%)⎠' '(^u^%)' 'ヽ(●´∀`●%)ノ' '(ノ>ω<%)ノ' '(。◕∀◕。%)' 'ヽ(✿゚▽゚%)ノ' '(ノ◕ヮ◕%)ノ*:・゚✧' '٩(๑•̀ω•́๑%)۶' '(๑ ^ ₃•๑%)' '(。◕∀◕。%)' '(๑•̀ㅂ•́%)و✧' '٩(๑•̀ω•́๑%)۶' '(▰˘◡˘▰%)' 'ヽ(●´ε`●%)ノ' '(ゝ∀・%)⌒☆' '(◍•ᴗ•◍%)ゝ' '✧*。٩(ˊᗜˋ*%)و✧*。' '(⁎⁍̴̛ᴗ⁍̴̛⁎%)‼' '< ( ̄︶ ̄%)>' '(๑ ^ ₃•๑%)' '(๑╹◡╹๑%)') +local -a sad_faces +sad_faces=('_(:3 」∠ %)_' '_(:3 ⌒゙%)_' 'ლ(́◕◞౪◟◕‵ლ%)' '╮(╯_╰%)╭' '┐(´д`%)┌' 'ლ(´•д• ̀ლ' '(〒︿〒%)' 'ヾ(;゚;Д;゚;%)ノ゙' '(╥﹏╥%)' '(;´༎ຶД༎ຶ`%)' '(ノ=Д=%)ノ┻━┻') + +local face_color="%(?:%{$fg[magenta]%}:%{$fg[cyan]%})" + +# primary prompt +PROMPT='$(git_prompt_info)${face_color}%(?:$happy_faces[$((RANDOM % $#happy_faces+1))]:$sad_faces[$((RANDOM %$#sad_faces+1))])$my_orange» %{$reset_color%}' + +RPROMPT='$FG[032]%~' + +# git settings +ZSH_THEME_GIT_PROMPT_PREFIX="%{$FG[032]%}git:(%{$FG[105]%}" +ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" +ZSH_THEME_GIT_PROMPT_DIRTY="%{$FG[032]%}) %{$fg[yellow]%}" +ZSH_THEME_GIT_PROMPT_CLEAN="%{$FG[032]%})"