mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2026-03-02 03:49:25 +00:00
Add k8s-context segment to bobthefish_display_colors
This commit is contained in:
@@ -140,6 +140,7 @@ function bobthefish_display_colors -a color_scheme -d 'Print example prompt colo
|
|||||||
__bobthefish_start_segment $color_desk
|
__bobthefish_start_segment $color_desk
|
||||||
echo -ns $desk_glyph desk ' '
|
echo -ns $desk_glyph desk ' '
|
||||||
__bobthefish_finish_segments
|
__bobthefish_finish_segments
|
||||||
|
echo
|
||||||
|
|
||||||
__bobthefish_start_segment $color_aws_vault
|
__bobthefish_start_segment $color_aws_vault
|
||||||
echo -ns aws-vault ' (' active ') '
|
echo -ns aws-vault ' (' active ') '
|
||||||
@@ -149,5 +150,9 @@ function bobthefish_display_colors -a color_scheme -d 'Print example prompt colo
|
|||||||
echo -ns aws-vault ' (' expired ') '
|
echo -ns aws-vault ' (' expired ') '
|
||||||
__bobthefish_finish_segments
|
__bobthefish_finish_segments
|
||||||
|
|
||||||
|
__bobthefish_start_segment $color_k8s
|
||||||
|
echo -ns $k8s_glyph ' k8s-context'
|
||||||
|
__bobthefish_finish_segments
|
||||||
|
|
||||||
echo -e "\n"
|
echo -e "\n"
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user