Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
b9354c5e
Unverified
Commit
b9354c5e
authored
Jul 23, 2023
by
Zou Yang
Committed by
GitHub
Jul 23, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(michelebologna): use blue instead of white (#11810)
parent
7d5e1250
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
michelebologna.zsh-theme
themes/michelebologna.zsh-theme
+5
-6
No files found.
themes/michelebologna.zsh-theme
View file @
b9354c5e
...
@@ -29,14 +29,13 @@ local cyan="%{$fg_bold[cyan]%}"
...
@@ -29,14 +29,13 @@ local cyan="%{$fg_bold[cyan]%}"
local yellow="%{$fg_bold[yellow]%}"
local yellow="%{$fg_bold[yellow]%}"
local blue="%{$fg_bold[blue]%}"
local blue="%{$fg_bold[blue]%}"
local magenta="%{$fg_bold[magenta]%}"
local magenta="%{$fg_bold[magenta]%}"
local white="%{$fg_bold[white]%}"
local reset="%{$reset_color%}"
local reset="%{$reset_color%}"
local -a color_array
local -a color_array
color_array=($green $red $cyan $yellow $blue $magenta
$white
)
color_array=($green $red $cyan $yellow $blue $magenta)
local username_color=$
whit
e
local username_color=$
blu
e
local hostname_color=$color_array[$[((#HOST))%
7
+1]] # choose hostname color based on first character
local hostname_color=$color_array[$[((#HOST))%
6
+1]] # choose hostname color based on first character
local current_dir_color=$blue
local current_dir_color=$blue
local username="%n"
local username="%n"
...
@@ -66,10 +65,10 @@ function michelebologna_git_prompt {
...
@@ -66,10 +65,10 @@ function michelebologna_git_prompt {
local out=$(git_prompt_info)$(git_prompt_status)$(git_remote_status)
local out=$(git_prompt_info)$(git_prompt_status)$(git_remote_status)
[[ -n $out ]] || return
[[ -n $out ]] || return
printf " %s(%s%s%s)%s" \
printf " %s(%s%s%s)%s" \
"%{$fg_bold[
whit
e]%}" \
"%{$fg_bold[
blu
e]%}" \
"%{$fg_bold[green]%}" \
"%{$fg_bold[green]%}" \
"$out" \
"$out" \
"%{$fg_bold[
whit
e]%}" \
"%{$fg_bold[
blu
e]%}" \
"%{$reset_color%}"
"%{$reset_color%}"
}
}
...
...
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