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.
|
||||
# Based on romkatv/powerlevel10k/config/p10k-pure.zsh, checksum 35142.
|
||||
# Wizard options: nerdfont-complete + powerline, large icons, pure, original, 12h time,
|
||||
# 1 line, sparse, instant_prompt=quiet.
|
||||
# Generated by Powerlevel10k configuration wizard on 2022-07-20 at 21:44 PDT.
|
||||
# Based on romkatv/powerlevel10k/config/p10k-pure.zsh.
|
||||
# Wizard options: nerdfont-complete + powerline, small icons, pure, original, rprompt,
|
||||
# 12h time, 1 line, sparse, instant_prompt=verbose.
|
||||
# Type `p10k configure` to generate another config.
|
||||
#
|
||||
# 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'
|
||||
|
||||
# Zsh >= 5.1 is required.
|
||||
[[ $ZSH_VERSION == (5.<1->*|<6->.*) ]] || return
|
||||
autoload -Uz is-at-least && is-at-least 5.1 || return
|
||||
|
||||
# Prompt colors.
|
||||
local grey='242'
|
||||
@ -46,22 +46,26 @@
|
||||
local cyan='6'
|
||||
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.
|
||||
typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
|
||||
context # user@host
|
||||
# context # user@host
|
||||
kubecontext # context/namespace
|
||||
dir # current directory
|
||||
vcs # git status
|
||||
command_execution_time # previous command duration
|
||||
virtualenv # python virtual environment
|
||||
# command_execution_time # previous command duration
|
||||
# virtualenv # python virtual environment
|
||||
prompt_char # prompt symbol
|
||||
)
|
||||
|
||||
# Right prompt segments.
|
||||
typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(
|
||||
# command_execution_time # previous command duration
|
||||
# virtualenv # python virtual environment
|
||||
# context # user@host
|
||||
time # current time
|
||||
command_execution_time # previous command duration
|
||||
virtualenv # python virtual environment
|
||||
context # user@host
|
||||
# time # current time
|
||||
)
|
||||
|
||||
# Basic style options that define the overall prompt look.
|
||||
@ -154,6 +158,8 @@
|
||||
# their preceding commands.
|
||||
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
|
||||
# when accepting a command line. Supported values:
|
||||
#
|
||||
@ -189,5 +195,6 @@
|
||||
# Tell `p10k configure` which file it should overwrite.
|
||||
typeset -g POWERLEVEL9K_CONFIG_FILE=${${(%):-%x}:a}
|
||||
|
||||
|
||||
(( ${#p10k_config_opts} )) && setopt ${p10k_config_opts[@]}
|
||||
'builtin' 'unset' 'p10k_config_opts'
|
||||
|
@ -75,6 +75,7 @@ __git_files () {
|
||||
|
||||
# PLUGINS
|
||||
zinit ice depth=1; zinit light romkatv/powerlevel10k
|
||||
|
||||
# append completions to fpath
|
||||
fpath=(/bedrock/share/zsh/completion /bedrock/cross/zsh-completion $fpath)
|
||||
|
||||
|
@ -39,6 +39,7 @@ goreleaser
|
||||
gospt-git
|
||||
gping
|
||||
grub
|
||||
haunt-go-git
|
||||
highlight
|
||||
htop
|
||||
intel-media-driver
|
||||
|
Loading…
Reference in New Issue
Block a user