mirror of https://github.com/ohmyzsh/ohmyzsh.git
Compare commits
3 Commits
4957ded56d
...
d6d3fef399
Author | SHA1 | Date |
---|---|---|
Arpit Gupta | d6d3fef399 | |
Bhanu | 5c17bcd21f | |
Arpit Gupta | 11387f4a3a |
|
@ -129,6 +129,11 @@ plugins=(... kubectl)
|
|||
| kej | `kubectl edit job` | Edit a Job in details |
|
||||
| kdj | `kubectl describe job` | Describe 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
|
||||
|
||||
|
|
|
@ -178,6 +178,12 @@ alias kej='kubectl edit job'
|
|||
alias kdj='kubectl describe 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)
|
||||
function _build_kubectl_out_alias {
|
||||
setopt localoptions norcexpandparam
|
||||
|
|
|
@ -52,6 +52,7 @@ Available search contexts are:
|
|||
| `gopkg` | `https://pkg.go.dev/search?m=package&q=` |
|
||||
| `chatgpt` | `https://chatgpt.com/?q=` |
|
||||
| `reddit` | `https://www.reddit.com/search/?q=` |
|
||||
| `ppai` | `https://www.perplexity.ai/search/new?q=` |
|
||||
|
||||
Also there are aliases for bang-searching DuckDuckGo:
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@ function web_search() {
|
|||
gopkg "https://pkg.go.dev/search?m=package&q="
|
||||
chatgpt "https://chatgpt.com/?q="
|
||||
reddit "https://www.reddit.com/search/?q="
|
||||
ppai "https://www.perplexity.ai/search/new?q="
|
||||
)
|
||||
|
||||
# check whether the search engine is supported
|
||||
|
@ -87,6 +88,7 @@ alias packagist='web_search packagist'
|
|||
alias gopkg='web_search gopkg'
|
||||
alias chatgpt='web_search chatgpt'
|
||||
alias reddit='web_search reddit'
|
||||
alias ppai='web_search ppai'
|
||||
|
||||
#add your own !bang searches here
|
||||
alias wiki='web_search duckduckgo \!w'
|
||||
|
|
Loading…
Reference in New Issue