Compare commits

...

3 Commits

Author SHA1 Message Date
Arpit Gupta d6d3fef399
Merge 11387f4a3a into 5c17bcd21f 2025-01-08 09:49:32 +01:00
Bhanu 5c17bcd21f
feat(web-search): add perplexity.ai (#12815) 2025-01-08 09:34:00 +01:00
Arpit Gupta 11387f4a3a feat(kubectl) add aliases for certificate 2024-09-17 16:56:57 -05:00
4 changed files with 14 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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:

View File

@ -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'