Commit graph

54 commits

Author SHA1 Message Date
Alvin Crespo
0f75203698
feat(docker): add image prune alias (#12520)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-08-01 20:35:49 +02:00
Sergey Karpuk
a4304dd7e5
feat(docker): add aliases for docker ps and docker ps -a (#12488) 2024-06-10 16:31:26 -07:00
Oren
40ff950fcd
fix(docker): support completion on snap installs (#12224) 2024-02-20 10:59:12 +01:00
Carlo Sala
7d5e12500a
feat(docker): add legacy-completion option 2023-07-20 10:43:56 +02:00
Carlo Sala
fe4b565986
fix(docker): only load old completion if docker <23 2023-06-30 11:41:44 +02:00
Andrei Polushin
73c4764e78
fix(docker): use docker --version instead of docker version
`docker version` subcommand is able to return both docker client and
docker daemon information.  To get a daemon version, it connects to a
possibly remote daemon.  If the remote daemon is not accessible, the
client waits for some time, until it gets interrupted by timeout.

As a result we can have a docker client running in background. When zsh
session is rather short, a terminal application (iTerm2) starts asking
if that background docker process should be stopped.

On the other hand, to get a docker client version only, we can use
`docker --version` instead. It does not connect to a daemon.

Closes #11780
2023-06-29 13:26:08 +02:00
Carlo Sala
723af07a56
fix(docker): add static completion script 2023-06-29 13:25:05 +02:00
Haltarys
8a6fc5c16d
fix(docker): use command docker (#11766) 2023-06-20 22:27:14 +02:00
Carlo Sala
6bffaab290
fix(docker): only generate completion for docker >23 (#11754) 2023-06-15 20:06:56 +02:00
Carlo Sala
68f3ebb4de
feat(docker): generate completion function
Closes #10825
Closes #10912
Closes #11751
2023-06-15 11:17:27 +02:00
kormosi
3705edf557
feat(docker): add drs alias (#11393) 2022-12-15 11:47:10 +01:00
Rafael Bernard Araújo
c35ca17258 feat(docker): add dsta alias
Closes #11089
2022-11-24 17:49:46 +01:00
Carlo Sala
1c06ea24fb chore(docker): sort and reorganize aliases 2022-11-24 17:49:46 +01:00
Carlo Sala
a4392cfc16 feat(docker): update completion
Taken from 79dca7a38e/contrib/completion/zsh/_docker
Closes #10826
2022-11-24 17:49:46 +01:00
Maxim Derbenev
d41ca84af1
fix(docker): rename dip alias to dipu to avoid naming conflict (#10957) 2022-06-06 15:37:42 +02:00
Abhinav M
7ea6ff8d04
fix(docker): rename dls and dlsa aliases to avoid conflict (#10852) 2022-04-13 15:05:55 +02:00
Abhinav M
c6f0504cf0
feat(docker): add aliases to docker plugin (#6527) 2022-04-12 21:52:41 +02:00
Marc Cornellà
c21ff38b8f
fix(docker): remove unwanted asterisk in completed docker commands
Also update upstream completion to version fe2008d04e80fafd.

NOTE: this fix means the version bundled within Oh My Zsh has diverged
from the upstream version.
2021-09-15 17:47:57 +02:00
YantaoZhao
3d6db32610
feat(docker): update completion to upstream version (#9470) 2021-01-01 18:11:01 +01:00
Marc Cornellà
38f276a732 docker: document option-stacking setting
Fixes #9266
2020-09-18 22:02:10 +02:00
Vinícius Picossi Teruel
10538d1105
docker: update to latest upstream completion (92dc906) (#8835) 2020-05-23 18:33:50 +02:00
Marc Cornellà
610b2529d2 Clean up plugin READMEs and a few plugins
- fasd
- history
- mercurial
- pylint
- repo
- yii2
2020-03-11 19:57:46 +01:00
Marc Cornellà
f48a40ee91
Reorganize stuff 2019-10-19 17:28:43 +02:00
Marco Zühlke
166719c0ab Format docker Readme like the other plugins. 2019-10-18 23:52:26 +02:00
Patrick Artounian
990104730c Update docker plugin from upstream docker/cli (#7470) 2018-12-31 11:12:34 -08:00
Tom Milligan
3a31074d34 Update docker plugin from upstream docker/cli (#7018)
Update `docker` plugin from [docker/cli master](https://github.com/tommilligan/cli/blob/master/contrib/completion/zsh/_docker)

- bugfix for `docker update` autocompletion: https://github.com/docker/cli/pull/1232
- added `scope` subcommand: https://github.com/docker/cli/pull/1227/files
2018-08-09 17:37:47 +02:00
Janosch Schwalm
19b925e741 use https everywhere (#6574)
* use https everywhere

* use https links on the files that are left

Also, removed some broken links and updated redirections.
2018-08-07 20:42:01 +02:00
Mauro Porras P
a600ab4b85 Minor fix: "stdin" instead of "stding" (#6801) 2018-05-17 16:30:03 +02:00
Quentin Nerden
919f0a42a0 Updated autocomplete and readme (#6720)
Signed-off-by: Troy Fontaine <tfontaine@troyfontaine.com>
2018-05-13 21:58:35 +02:00
Alexey Pristavkin
d22189848e Update of docker completion (#6542) 2018-01-22 19:14:55 -08:00
Antonis Kalipetis
41eedd3700 Update Docker completion plugin (#6410) 2017-11-11 09:40:03 -08:00
grh2g46
9bbcceda97 add missing new line escape (#5896)
missing \ was causing command not found errors when tab completing docker build -t <tab>
2017-02-20 10:20:53 -08:00
Marc Cornellà
67dad45b38 docker: update completion (upstream 2fe62f2)
Closes #5683
2016-12-14 23:22:26 +01:00
Marc Cornellà
37bf9186a0 Update docker completion (2015-10-25)
Closes #5568

Source:
c9fdf9abf8
2016-10-25 05:43:11 +02:00
Zach Himsel
f39dcfda8d Update docker completion from upstream (#5426)
be9e3f59e6/contrib/completion/zsh/_docker
2016-09-20 20:48:10 +02:00
Brian Goff
9d91e92f26 Update docker completion to match docker upstream (#5060)
See https://github.com/docker/docker/blob/master/contrib/completion/zsh/_docker

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2016-09-20 20:40:07 +02:00
kenleytomlin
03e7f93ec7 Update README 2016-08-30 08:58:31 +01:00
kenleytomlin
a93bb4e695 Update the docker completion script with the official docker zsh
completion script
2016-08-30 08:54:47 +01:00
Andrew Robertson
c3fbe4d121 Add support for Docker images from custom registries 2015-08-05 19:51:05 +01:00
UserTaken
55b1a2befe Update _docker 2015-06-13 16:30:18 -07:00
UserTaken
557dc09d71 More run and create options 2015-06-11 00:21:45 -07:00
Kennedy Oliveira
2dbf9951d9 Fixing some issues where show repeated weird values, and fixed commands that need the container autocomplete without being running, like start, now it autocompletes showing all the containers so you can start without knowing the right name 2015-04-29 15:17:11 -03:00
Robby Russell
9a58e8dab7 Merge pull request #3578 from ctroncoso/patch-1
docker containers based on defined names
2015-02-18 15:07:02 -08:00
Karsten Kosmala
cd36deda23 added stats command to docker plugin 2015-02-16 12:04:37 +01:00
ctroncoso
68955f17ad docker containers based on defined names
docker container autocomplete listing uses containers ID instead of names.
Most users identify their containers by name. ID is only needed and used on a dynamic environment more suited in scripts.
2015-02-13 09:49:54 -03:00
Paul van den Berg
9e5f0f0e9d added exec command to docker plugin 2014-12-18 23:22:48 +01:00
Josh Comer
6b3a723c37 Fix typo in docker plugin 2014-07-14 16:41:57 -07:00
Javier Tejero
7949a1cd8d Fix docker rmi tab completion
This is exactly what happens on tab completion for docker rmi. This commit
fixes that.

```sh
$ docker rmi <hit TAB>
_arguments:comparguments:312: invalid argument: __docker_images
_arguments:comparguments:312: invalid argument: __docker_images
_arguments:comparguments:312: invalid argument: __docker_images
```
2014-04-19 09:03:28 +02:00
Bob Maerten
76e1edf31f Matching autocomplete for Docker v0.9.1
Many deprecations since 0.8 and new commands.
2014-03-26 10:40:46 +01:00
Bob Maerten
3c9a29b0d6 Fix typo in autocomplete arguments 2014-03-10 16:23:14 +01:00