Browse Source

hack works

master
Coin de Gamma 2 years ago
parent
commit
db3e25a3f6
  1. 2
      README.md
  2. 13
      themes/glitchy.zsh-theme

2
README.md

@ -1,5 +1,5 @@
## Install
```bash
ln -s ./themes/glitchy.zsh-theme ~/.oh-my-zsh/custom/themes/glitchy.zsh-theme
cp ./themes/glitchy.zsh-theme ~/.oh-my-zsh/custom/themes/
```

13
themes/glitchy.zsh-theme

@ -1,8 +1,7 @@
PROMPT=$'
%{$fg_bold[green]%}%n@%m %{$fg[blue]%}%D{[%H:%M:%S]} %{$reset_color%}%{$fg[white]%}[%~]%{$reset_color%} $(git_prompt_info)\
%{$fg[blue]%}->%{$fg_bold[blue]%} %#%{$reset_color%} '
PROMPT="%(?:%{$fg_bold[green]%}>> :%{$fg_bold[red]%}>> )"
PROMPT+=' %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}["
ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}*%{$fg[green]%}"
ZSH_THEME_GIT_PROMPT_CLEAN=""
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"

Loading…
Cancel
Save