Skip to content

Commit 949cbdf

Browse files
authored
Merge pull request #4 from gcholette/chore/update-readme
chore: remove occurences of palette_text variable
2 parents a68ac2f + 19402b6 commit 949cbdf

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ palette_gradient_end="#008cff"
7474
palette_variant_1="#00d7af"
7575
palette_variant_2="#00d7d7"
7676
palette_variant_3="#00d7ff"
77-
palette_text="#d2d2d2"
7877
```
7978

8079
### Viewing a palette
@@ -106,7 +105,7 @@ source $scriptDir'/../lib/lib'
106105

107106
prompt_cmd() {
108107
LINE_1="$(rgb_fg_ps1 $palette_primary)$(current_user) $(rgb_fg_ps1 $palette_secondary)$(basename $PWD)"
109-
LINE_2="$(rgb_fg_ps1 $palette_accent)$ $(rgb_fg_ps1 $palette_text)"
108+
LINE_2="$(rgb_fg_ps1 $palette_accent)$ $(no_color_ps1)"
110109

111110
PS1="\r\n${LINE_1}\r\n${LINE_2}"
112111
}

demo_palettes

-4
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,6 @@ if [ $detailed -eq 1 ]; then
5959
printf "$(rgb_bg $palette_variant_1) $(no_color)"
6060
printf "$(rgb_bg $palette_variant_2) $(no_color)"
6161
printf "$(rgb_bg $palette_variant_3) $(no_color)"
62-
printf '\n\n'
63-
64-
printf "\033[1mText color:$(no_color) $(rgb_fg $palette_text)this is the text color$(no_color) "
65-
6662
no_color
6763
echo
6864
echo

0 commit comments

Comments
 (0)