1
0
Fork 0

zsh: some aliases

This commit is contained in:
Vladimír Dudr 2023-12-11 08:16:54 +01:00
parent 8a5855502b
commit 5b7d43aaed
2 changed files with 4 additions and 1 deletions

View file

@ -44,3 +44,6 @@ alias podr='podman run -it --rm'
alias podrs='podman run -it --rm --entrypoint /bin/sh'
alias kubegen='kubectl create --dry-run=client -oyaml'
alias k=kubectl
alias kg='kubectl get'
alias kctx='kubectl config use-context'

View file

@ -110,7 +110,7 @@
# Blue current directory.
typeset -g POWERLEVEL9K_DIR_FOREGROUND=$blue
typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|k9s|flux'
typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|k9s|flux|trivy'
# Context format when root: user@host. The first part white, the rest grey.
typeset -g POWERLEVEL9K_CONTEXT_ROOT_TEMPLATE="%F{$white}%n%f%F{$grey}@%m%f"