mirror of https://github.com/ohmyzsh/ohmyzsh.git
Compare commits
3 Commits
42dd51db31
...
3ccbd8c18a
Author | SHA1 | Date |
---|---|---|
|
3ccbd8c18a | |
|
5c17bcd21f | |
|
736dc8194c |
|
@ -47,6 +47,12 @@ zstyle ':omz:plugins:docker' legacy-completion yes
|
||||||
| dcin | `docker container inspect` | Display detailed information on one or more containers |
|
| dcin | `docker container inspect` | Display detailed information on one or more containers |
|
||||||
| dcls | `docker container ls` | List all the running docker containers |
|
| dcls | `docker container ls` | List all the running docker containers |
|
||||||
| dclsa | `docker container ls -a` | List all running and stopped containers |
|
| dclsa | `docker container ls -a` | List all running and stopped containers |
|
||||||
|
| dctx | `docker context` | Base docker context command to add subcommands at will |
|
||||||
|
| dctxc | `docker context create` | Create a docker context |
|
||||||
|
| dctxi | `docker context inspect` | Inspect docker context to retrieve relevant config and metadata |
|
||||||
|
| dctxls | `docker context ls` | List docker contexts |
|
||||||
|
| dctxrm | `docker context rm` | Remove one docker context by name |
|
||||||
|
| dctxu | `docker context use` | Switch current context to specified name |
|
||||||
| dib | `docker image build` | Build an image from a Dockerfile (same as docker build) |
|
| dib | `docker image build` | Build an image from a Dockerfile (same as docker build) |
|
||||||
| dii | `docker image inspect` | Display detailed information on one or more images |
|
| dii | `docker image inspect` | Display detailed information on one or more images |
|
||||||
| dils | `docker image ls` | List docker images |
|
| dils | `docker image ls` | List docker images |
|
||||||
|
|
|
@ -2,11 +2,17 @@ alias dbl='docker build'
|
||||||
alias dcin='docker container inspect'
|
alias dcin='docker container inspect'
|
||||||
alias dcls='docker container ls'
|
alias dcls='docker container ls'
|
||||||
alias dclsa='docker container ls -a'
|
alias dclsa='docker container ls -a'
|
||||||
|
alias dctx='docker context'
|
||||||
|
alias dctxc='docker context create'
|
||||||
|
alias dctxi='docker context inspect'
|
||||||
|
alias dctxls='docker context ls'
|
||||||
|
alias dctxrm='docker context rm'
|
||||||
|
alias dctxu='docker context use'
|
||||||
alias dib='docker image build'
|
alias dib='docker image build'
|
||||||
alias dii='docker image inspect'
|
alias dii='docker image inspect'
|
||||||
alias dils='docker image ls'
|
alias dils='docker image ls'
|
||||||
alias dipu='docker image push'
|
|
||||||
alias dipru='docker image prune -a'
|
alias dipru='docker image prune -a'
|
||||||
|
alias dipu='docker image push'
|
||||||
alias dirm='docker image rm'
|
alias dirm='docker image rm'
|
||||||
alias dit='docker image tag'
|
alias dit='docker image tag'
|
||||||
alias dlo='docker container logs'
|
alias dlo='docker container logs'
|
||||||
|
@ -24,8 +30,8 @@ alias dr='docker container run'
|
||||||
alias drit='docker container run -it'
|
alias drit='docker container run -it'
|
||||||
alias drm='docker container rm'
|
alias drm='docker container rm'
|
||||||
alias 'drm!'='docker container rm -f'
|
alias 'drm!'='docker container rm -f'
|
||||||
alias dst='docker container start'
|
|
||||||
alias drs='docker container restart'
|
alias drs='docker container restart'
|
||||||
|
alias dst='docker container start'
|
||||||
alias dsta='docker stop $(docker ps -q)'
|
alias dsta='docker stop $(docker ps -q)'
|
||||||
alias dstp='docker container stop'
|
alias dstp='docker container stop'
|
||||||
alias dtop='docker top'
|
alias dtop='docker top'
|
||||||
|
|
|
@ -52,6 +52,7 @@ Available search contexts are:
|
||||||
| `gopkg` | `https://pkg.go.dev/search?m=package&q=` |
|
| `gopkg` | `https://pkg.go.dev/search?m=package&q=` |
|
||||||
| `chatgpt` | `https://chatgpt.com/?q=` |
|
| `chatgpt` | `https://chatgpt.com/?q=` |
|
||||||
| `reddit` | `https://www.reddit.com/search/?q=` |
|
| `reddit` | `https://www.reddit.com/search/?q=` |
|
||||||
|
| `ppai` | `https://www.perplexity.ai/search/new?q=` |
|
||||||
|
|
||||||
Also there are aliases for bang-searching DuckDuckGo:
|
Also there are aliases for bang-searching DuckDuckGo:
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,7 @@ function web_search() {
|
||||||
gopkg "https://pkg.go.dev/search?m=package&q="
|
gopkg "https://pkg.go.dev/search?m=package&q="
|
||||||
chatgpt "https://chatgpt.com/?q="
|
chatgpt "https://chatgpt.com/?q="
|
||||||
reddit "https://www.reddit.com/search/?q="
|
reddit "https://www.reddit.com/search/?q="
|
||||||
|
ppai "https://www.perplexity.ai/search/new?q="
|
||||||
)
|
)
|
||||||
|
|
||||||
# check whether the search engine is supported
|
# check whether the search engine is supported
|
||||||
|
@ -87,6 +88,7 @@ alias packagist='web_search packagist'
|
||||||
alias gopkg='web_search gopkg'
|
alias gopkg='web_search gopkg'
|
||||||
alias chatgpt='web_search chatgpt'
|
alias chatgpt='web_search chatgpt'
|
||||||
alias reddit='web_search reddit'
|
alias reddit='web_search reddit'
|
||||||
|
alias ppai='web_search ppai'
|
||||||
|
|
||||||
#add your own !bang searches here
|
#add your own !bang searches here
|
||||||
alias wiki='web_search duckduckgo \!w'
|
alias wiki='web_search duckduckgo \!w'
|
||||||
|
|
Loading…
Reference in New Issue