mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-08 04:34:00 +02:00
Merge dfdb3c1f7b into 5667161d49
This commit is contained in:
commit
32b1151f93
1 changed files with 13 additions and 0 deletions
13
themes/blakefrost.zsh-theme
Normal file
13
themes/blakefrost.zsh-theme
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
#! /usr/bin/env zsh
|
||||||
|
|
||||||
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[green]%} "
|
||||||
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
||||||
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}⚡%{$reset_color%}"
|
||||||
|
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
||||||
|
|
||||||
|
PROMPT='%~%{$reset_color%}$(git_prompt_info) ★ %{$reset_color%}'
|
||||||
|
|
||||||
|
if which rbenv &> /dev/null; then
|
||||||
|
local ruby='%{$fg[blue]%}$(rbenv version | cut -d " " -f 1 | sed "s/-/ /g")%{$reset_color%}'
|
||||||
|
fi
|
||||||
|
RPROMPT="%(?..%{$fg[white]%}%?%{$fg[red]%}⚡)%{$reset_color%} ${ruby}"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue