mirror of https://github.com/ohmyzsh/ohmyzsh.git
Compare commits
3 Commits
f81ebf143c
...
d0f5724354
Author | SHA1 | Date |
---|---|---|
|
d0f5724354 | |
|
1c2127727a | |
|
11387f4a3a |
|
@ -11,7 +11,7 @@ if [[ ! -f "$ZSH_CACHE_DIR/completions/_jj" ]]; then
|
||||||
_comps[jj]=_jj
|
_comps[jj]=_jj
|
||||||
fi
|
fi
|
||||||
|
|
||||||
jj util completion zsh >| "$ZSH_CACHE_DIR/completions/_jj" &|
|
COMPLETE=zsh jj >| "$ZSH_CACHE_DIR/completions/_jj" &|
|
||||||
|
|
||||||
function __jj_prompt_jj() {
|
function __jj_prompt_jj() {
|
||||||
local -a flags
|
local -a flags
|
||||||
|
|
|
@ -129,6 +129,11 @@ plugins=(... kubectl)
|
||||||
| kej | `kubectl edit job` | Edit a Job in details |
|
| kej | `kubectl edit job` | Edit a Job in details |
|
||||||
| kdj | `kubectl describe job` | Describe the Job |
|
| kdj | `kubectl describe job` | Describe the Job |
|
||||||
| kdelj | `kubectl delete job` | Delete the Job |
|
| kdelj | `kubectl delete job` | Delete the Job |
|
||||||
|
| | | **Certificate management** |
|
||||||
|
| kgcert | `kubectl get certificate` | List Certificate in the namespace |
|
||||||
|
| kgcerta | `kubectl get certificate --all-namespaces` | List Certificates in all namespaces |
|
||||||
|
| kdcert | `kubectl describe certificate` | Describe the Certificate |
|
||||||
|
| kdelcert | `kubectl delete certificate` | Delete the Certificate |
|
||||||
|
|
||||||
## Wrappers
|
## Wrappers
|
||||||
|
|
||||||
|
|
|
@ -178,6 +178,12 @@ alias kej='kubectl edit job'
|
||||||
alias kdj='kubectl describe job'
|
alias kdj='kubectl describe job'
|
||||||
alias kdelj='kubectl delete job'
|
alias kdelj='kubectl delete job'
|
||||||
|
|
||||||
|
# Certificate management.
|
||||||
|
alias kgcert='kubectl get certificate'
|
||||||
|
alias kgcerta='kubectl get certificate --all-namespaces'
|
||||||
|
alias kdcert='kubectl describe certificate'
|
||||||
|
alias kdelcert='kubectl delete certificate'
|
||||||
|
|
||||||
# Utility print functions (json / yaml)
|
# Utility print functions (json / yaml)
|
||||||
function _build_kubectl_out_alias {
|
function _build_kubectl_out_alias {
|
||||||
setopt localoptions norcexpandparam
|
setopt localoptions norcexpandparam
|
||||||
|
|
Loading…
Reference in New Issue