mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-17 04:29:14 +02:00
Add ASCII art theme
This commit is contained in:
parent
83cf8dc16f
commit
41f40e3bcf
1 changed files with 24 additions and 0 deletions
24
themes/ASCII_art.zsh-theme
Normal file
24
themes/ASCII_art.zsh-theme
Normal file
|
|
@ -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]%})"
|
||||
Loading…
Add table
Add a link
Reference in a new issue