Add own theme

This commit is contained in:
Tobias Reisinger 2021-04-09 19:14:16 +02:00
parent f43241f75d
commit 7df492d014
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
2 changed files with 15 additions and 1 deletions

View file

@ -11,7 +11,7 @@ fi
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="tjkirch"
ZSH_THEME="serguzim"
# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
@ -82,10 +82,13 @@ plugins=(
copydir
copyfile
cp
docker
docker-compose
encode64
extract
git
git-auto-status
httpie
jump
kubectl
safe-paste

View file

@ -0,0 +1,11 @@
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[cyan]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg_bold[green]%}✔ "
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg_bold[yellow]%}✘ "
PROMPT='%(?, ,%{$fg[red]%}RETURN: $?%{$reset_color%}
)
%{$fg[green]%}%* %{$fg[magenta]%}%n%{$reset_color%}@%{$fg[yellow]%}%M%{$reset_color%}: %{$fg_bold[blue]%}%~$(git_prompt_info)
%{$fg_bold[green]%}%{$reset_color%} '
#RPROMPT='%{$fg[green]%}[%*]%{$reset_color%}'