Custom glyph ☁

* Not convinced this is the best one but it's a start.
This commit is contained in:
Darren Kidd 2020-09-08 15:08:06 +12:00
parent c9975c2985
commit 398a60b866
2 changed files with 4 additions and 1 deletions

View File

@ -664,7 +664,7 @@ function __bobthefish_prompt_aws_vault_profile -S -d 'Show AWS Vault profile'
[ "$diff_mins" -lt 0 ] [ "$diff_mins" -lt 0 ]
and set -l diff_mins 0 and set -l diff_mins 0
set -l segment $profile " (" $diff_mins "m)" set -l segment $aws_vault_glyph " " $profile " (" $diff_mins "m)"
__bobthefish_start_segment $color_desk __bobthefish_start_segment $color_desk
echo -ns $segment " " echo -ns $segment " "

View File

@ -30,6 +30,9 @@ function __bobthefish_glyphs -S -d 'Define glyphs used by bobthefish'
# Kubernetes glyphs # Kubernetes glyphs
set -x k8s_glyph \u2388 # '⎈' set -x k8s_glyph \u2388 # '⎈'
# AWS glyphs
set -x aws_vault_glyph \u2601 # '☁'
# Vagrant glyphs # Vagrant glyphs
set -x vagrant_running_glyph \u2191 # ↑ 'running' set -x vagrant_running_glyph \u2191 # ↑ 'running'
set -x vagrant_poweroff_glyph \u2193 # ↓ 'poweroff' set -x vagrant_poweroff_glyph \u2193 # ↓ 'poweroff'