Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
0f3c424e
Commit
0f3c424e
authored
Jun 10, 2020
by
Marc Cornellà
Browse files
muse: clean up theme
parent
da01dc91
Changes
1
Show whitespace changes
Inline
Side-by-side
themes/muse.zsh-theme
View file @
0f3c424e
#!/usr/bin/env zsh
#local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
setopt promptsubst
autoload
-U
add-zsh-hook
PROMPT_SUCCESS_COLOR
=
$FG
[
117]
PROMPT_FAILURE_COLOR
=
$FG
[
124]
PROMPT_VCS_INFO_COLOR
=
$FG
[
242]
PROMPT_PROMPT
=
$FG
[
077]
GIT_DIRTY_COLOR
=
$FG
[
133]
GIT_CLEAN_COLOR
=
$FG
[
118]
GIT_PROMPT_INFO
=
$FG
[
012]
PROMPT
=
'%{$PROMPT_SUCCESS_COLOR%}%~%{$reset_color%}%{$GIT_PROMPT_INFO%}$(git_prompt_info)$(virtualenv_prompt_info)%{$GIT_DIRTY_COLOR%}$(git_prompt_status) %{$reset_color%}%{$PROMPT_PROMPT%}ᐅ%{$reset_color%} '
#RPS1="${return_code}"
ZSH_THEME_GIT_PROMPT_PREFIX
=
" ("
ZSH_THEME_GIT_PROMPT_SUFFIX
=
"%{
$GIT_PROMPT_INFO
%})"
ZSH_THEME_GIT_PROMPT_DIRTY
=
" %{
$GIT_DIRTY_COLOR
%}✘"
ZSH_THEME_GIT_PROMPT_CLEAN
=
" %{
$GIT_CLEAN_COLOR
%}✔"
ZSH_THEME_GIT_PROMPT_ADDED
=
"%{
$FG
[082]%}✚%{
$reset_color
%}"
ZSH_THEME_GIT_PROMPT_MODIFIED
=
"%{
$FG
[166]%}✹%{
$reset_color
%}"
ZSH_THEME_GIT_PROMPT_DELETED
=
"%{
$FG
[160]%}✖%{
$reset_color
%}"
ZSH_THEME_GIT_PROMPT_RENAMED
=
"%{
$FG
[220]%}➜%{
$reset_color
%}"
ZSH_THEME_GIT_PROMPT_UNMERGED
=
"%{
$FG
[082]%}═%{
$reset_color
%}"
ZSH_THEME_GIT_PROMPT_UNTRACKED
=
"%{
$FG
[190]%}✭%{
$reset_color
%}"
PROMPT="${FG[117]}%~%{$reset_color%}\$(git_prompt_info)\$(virtualenv_prompt_info)${FG[133]}\$(git_prompt_status) ${FG[077]}ᐅ%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_PREFIX=" ${FG[012]}("
ZSH_THEME_GIT_PROMPT_SUFFIX="${FG[012]})%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY=" ${FG[133]}✘"
ZSH_THEME_GIT_PROMPT_CLEAN=" ${FG[118]}✔"
ZSH_THEME_GIT_PROMPT_ADDED="${FG[082]}✚%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_MODIFIED="${FG[166]}✹%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DELETED="${FG[160]}✖%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_RENAMED="${FG[220]}➜%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_UNMERGED="${FG[082]}═%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_UNTRACKED="${FG[190]}✭%{$reset_color%}"
ZSH_THEME_VIRTUALENV_PREFIX=" ["
ZSH_THEME_VIRTUALENV_SUFFIX="]"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment