zsh: some aliases
This commit is contained in:
parent
8a5855502b
commit
5b7d43aaed
2 changed files with 4 additions and 1 deletions
|
@ -44,3 +44,6 @@ alias podr='podman run -it --rm'
|
||||||
alias podrs='podman run -it --rm --entrypoint /bin/sh'
|
alias podrs='podman run -it --rm --entrypoint /bin/sh'
|
||||||
|
|
||||||
alias kubegen='kubectl create --dry-run=client -oyaml'
|
alias kubegen='kubectl create --dry-run=client -oyaml'
|
||||||
|
alias k=kubectl
|
||||||
|
alias kg='kubectl get'
|
||||||
|
alias kctx='kubectl config use-context'
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
# Blue current directory.
|
# Blue current directory.
|
||||||
typeset -g POWERLEVEL9K_DIR_FOREGROUND=$blue
|
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.
|
# 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"
|
typeset -g POWERLEVEL9K_CONTEXT_ROOT_TEMPLATE="%F{$white}%n%f%F{$grey}@%m%f"
|
||||||
|
|
Loading…
Add table
Reference in a new issue