updates
This commit is contained in:
parent
6ba5098e68
commit
6f094e034c
@ -1,7 +1,7 @@
|
|||||||
# Generated by Powerlevel10k configuration wizard on 2023-02-17 at 17:22 PST.
|
# Generated by Powerlevel10k configuration wizard on 2022-07-20 at 21:44 PDT.
|
||||||
# Based on romkatv/powerlevel10k/config/p10k-pure.zsh, checksum 35142.
|
# Based on romkatv/powerlevel10k/config/p10k-pure.zsh.
|
||||||
# Wizard options: nerdfont-complete + powerline, large icons, pure, original, 12h time,
|
# Wizard options: nerdfont-complete + powerline, small icons, pure, original, rprompt,
|
||||||
# 1 line, sparse, instant_prompt=quiet.
|
# 12h time, 1 line, sparse, instant_prompt=verbose.
|
||||||
# Type `p10k configure` to generate another config.
|
# Type `p10k configure` to generate another config.
|
||||||
#
|
#
|
||||||
# Config file for Powerlevel10k with the style of Pure (https://github.com/sindresorhus/pure).
|
# Config file for Powerlevel10k with the style of Pure (https://github.com/sindresorhus/pure).
|
||||||
@ -35,7 +35,7 @@
|
|||||||
unset -m '(POWERLEVEL9K_*|DEFAULT_USER)~POWERLEVEL9K_GITSTATUS_DIR'
|
unset -m '(POWERLEVEL9K_*|DEFAULT_USER)~POWERLEVEL9K_GITSTATUS_DIR'
|
||||||
|
|
||||||
# Zsh >= 5.1 is required.
|
# Zsh >= 5.1 is required.
|
||||||
[[ $ZSH_VERSION == (5.<1->*|<6->.*) ]] || return
|
autoload -Uz is-at-least && is-at-least 5.1 || return
|
||||||
|
|
||||||
# Prompt colors.
|
# Prompt colors.
|
||||||
local grey='242'
|
local grey='242'
|
||||||
@ -46,22 +46,26 @@
|
|||||||
local cyan='6'
|
local cyan='6'
|
||||||
local white='7'
|
local white='7'
|
||||||
|
|
||||||
|
# Show prompt segment "kubecontext" only when the command you are typing invokes one of these tools.
|
||||||
|
typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens'
|
||||||
|
|
||||||
# Left prompt segments.
|
# Left prompt segments.
|
||||||
typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
|
typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
|
||||||
context # user@host
|
# context # user@host
|
||||||
|
kubecontext # context/namespace
|
||||||
dir # current directory
|
dir # current directory
|
||||||
vcs # git status
|
vcs # git status
|
||||||
command_execution_time # previous command duration
|
# command_execution_time # previous command duration
|
||||||
virtualenv # python virtual environment
|
# virtualenv # python virtual environment
|
||||||
prompt_char # prompt symbol
|
prompt_char # prompt symbol
|
||||||
)
|
)
|
||||||
|
|
||||||
# Right prompt segments.
|
# Right prompt segments.
|
||||||
typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(
|
typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(
|
||||||
# command_execution_time # previous command duration
|
command_execution_time # previous command duration
|
||||||
# virtualenv # python virtual environment
|
virtualenv # python virtual environment
|
||||||
# context # user@host
|
context # user@host
|
||||||
time # current time
|
# time # current time
|
||||||
)
|
)
|
||||||
|
|
||||||
# Basic style options that define the overall prompt look.
|
# Basic style options that define the overall prompt look.
|
||||||
@ -154,6 +158,8 @@
|
|||||||
# their preceding commands.
|
# their preceding commands.
|
||||||
typeset -g POWERLEVEL9K_TIME_UPDATE_ON_COMMAND=false
|
typeset -g POWERLEVEL9K_TIME_UPDATE_ON_COMMAND=false
|
||||||
|
|
||||||
|
typeset -g POWERLEVEL9K_EXPERIMENTAL_TIME_REALTIME=true
|
||||||
|
|
||||||
# Transient prompt works similarly to the builtin transient_rprompt option. It trims down prompt
|
# Transient prompt works similarly to the builtin transient_rprompt option. It trims down prompt
|
||||||
# when accepting a command line. Supported values:
|
# when accepting a command line. Supported values:
|
||||||
#
|
#
|
||||||
@ -187,7 +193,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Tell `p10k configure` which file it should overwrite.
|
# Tell `p10k configure` which file it should overwrite.
|
||||||
typeset -g POWERLEVEL9K_CONFIG_FILE=${${(%):-%x}:a}
|
typeset -g POWERLEVEL9K_CONFIG_FILE=${${(%):-%x}:a}
|
||||||
|
|
||||||
|
|
||||||
(( ${#p10k_config_opts} )) && setopt ${p10k_config_opts[@]}
|
(( ${#p10k_config_opts} )) && setopt ${p10k_config_opts[@]}
|
||||||
'builtin' 'unset' 'p10k_config_opts'
|
'builtin' 'unset' 'p10k_config_opts'
|
||||||
|
@ -75,6 +75,7 @@ __git_files () {
|
|||||||
|
|
||||||
# PLUGINS
|
# PLUGINS
|
||||||
zinit ice depth=1; zinit light romkatv/powerlevel10k
|
zinit ice depth=1; zinit light romkatv/powerlevel10k
|
||||||
|
|
||||||
# append completions to fpath
|
# append completions to fpath
|
||||||
fpath=(/bedrock/share/zsh/completion /bedrock/cross/zsh-completion $fpath)
|
fpath=(/bedrock/share/zsh/completion /bedrock/cross/zsh-completion $fpath)
|
||||||
|
|
||||||
|
@ -39,6 +39,7 @@ goreleaser
|
|||||||
gospt-git
|
gospt-git
|
||||||
gping
|
gping
|
||||||
grub
|
grub
|
||||||
|
haunt-go-git
|
||||||
highlight
|
highlight
|
||||||
htop
|
htop
|
||||||
intel-media-driver
|
intel-media-driver
|
||||||
|
Loading…
Reference in New Issue
Block a user