new prompt segment: toolbox (https://github.com/containers/toolbox) #1560
This commit is contained in:
parent
c5c9178341
commit
4f3d2ffe72
7 changed files with 85 additions and 3 deletions
|
@ -1767,6 +1767,7 @@ function generate_config() {
|
|||
uncomment 'typeset -g POWERLEVEL9K_CONTEXT_PREFIX'
|
||||
uncomment 'typeset -g POWERLEVEL9K_KUBECONTEXT_PREFIX'
|
||||
uncomment 'typeset -g POWERLEVEL9K_TIME_PREFIX'
|
||||
uncomment 'typeset -g POWERLEVEL9K_TOOLBOX_PREFIX'
|
||||
if [[ $style == (lean|classic) ]]; then
|
||||
[[ $style == classic ]] && local fg="%$prefix_color[$color]F" || local fg="%f"
|
||||
sub VCS_PREFIX "'${fg}on '"
|
||||
|
@ -1774,6 +1775,7 @@ function generate_config() {
|
|||
sub CONTEXT_PREFIX "'${fg}with '"
|
||||
sub KUBECONTEXT_PREFIX "'${fg}at '"
|
||||
sub TIME_PREFIX "'${fg}at '"
|
||||
sub TOOLBOX_PREFIX "'${fg}in '"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue