Steve Durrheimer
76c8cbd1fc
Add zsh completion for 'docker build --add-host'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit fbedc588be
)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2017-03-28 17:24:44 -07:00
Harald Albers
93546c257a
Update bash completion for docker service logs
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-14 17:28:58 +01:00
Sebastiaan van Stijn
0f212b57e8
Merge pull request #31635 from christopher-gibson/master
...
Fix fish autocompletion with custom ps output
2017-03-14 11:28:59 +01:00
Harald Albers
71aba36d5a
Add bash completion for topology-aware scheduling
...
- bash completion for `docker service create --placement-pref`
- bash completion for `docker service update --placement-pref-{add,rm}`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-14 08:37:05 +01:00
Harald Albers
d1340b9440
Fix bash completion for service constraints
...
- Remove bash completion for `service update --constraint`
- Add bash completion for `service update --constraint-{add,rm}`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-13 16:52:38 +01:00
Harald Albers
994948a08f
Improve bash completion for create|run --stop-signal
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-09 09:06:35 +01:00
Harald Albers
81cbf49e52
Add bash completion for service create|update --stop-signal
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-09 09:02:00 +01:00
Chris Gibson
b4a1634cec
Fix fish autocompletion with custom ps output
...
In the docker config.json, if `psFormat` or `imagesFormat` is set to a
non-standard format, it breaks autocompletion.
This fixes the issue by using a custom format.
Signed-off-by: Chris Gibson <chris@chrisg.io>
2017-03-08 14:19:48 +08:00
Kenfe-Mickaël Laventure
c6e102c830
Merge pull request #31194 from albers/completion-volume-aliases
...
Add support for command aliases to bash completion of `docker volume`
2017-03-06 09:52:41 -08:00
Harald Albers
07a5119b1a
Improve bash completion for service create|update --update-failure-action
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-05 10:42:44 -08:00
Harald Albers
5a9425c417
Add bash completion for service create|update --rollback-*
...
Also remove wrong completion for `docker service create --rollback`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-05 10:41:19 -08:00
Harald Albers
76f4681b56
Improve POSIX compatibility of bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-03-03 10:26:33 +01:00
Vincent Demeester
3b5d8e6a8d
Merge pull request #31339 from albers/completion-service-ps--only-one-service
...
Bash completion for `docker service ps` completes only one service
2017-03-02 11:21:17 +01:00
Vincent Demeester
ae00a139cb
Merge pull request #31190 from albers/completion-hide-aliases
...
Hide aliases in bash completion of `docker node|service`
2017-02-28 16:54:53 +01:00
Harald Albers
8de3eb0486
Add bash completion for docker build --add-host
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-27 12:56:57 +01:00
Harald Albers
a7b2f8dd8f
Bash completion for docker service ps
completes only one service
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-24 16:50:00 +01:00
Vincent Demeester
3470c8d767
Merge pull request #31330 from albers/completion-fix-node-plus-self
...
Fix bash completion for `docker service ps --filter node`
2017-02-24 15:35:27 +01:00
Vincent Demeester
d65a721f40
Merge pull request #31329 from albers/completion-desired-state-shutdown
...
Add completion for `--filter desired-state=shutdown`
2017-02-24 15:33:52 +01:00
Harald Albers
23b0c39fa6
Add bash completion for missing filters of docker node ls
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-24 14:29:23 +01:00
Harald Albers
4fb663a3b4
Fix bash completion for docker service ps --filter node
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-24 14:09:26 +01:00
Harald Albers
55fcfe7e8b
Add completion for --filter desired-state=shutdown
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-24 13:31:59 +01:00
Harald Albers
270a7bb501
Activate bash completion for Windows executable
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-23 14:45:18 +01:00
Harald Albers
073047101e
Add support for command aliases to bash completion of docker volume
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-20 18:19:57 +01:00
Harald Albers
52330a907a
Hide aliases in bash completion of docker node|service
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-20 16:48:42 +01:00
Brian Goff
e412e33a2f
Merge pull request #30946 from sdurrheimer/zsh-completion-log-opts
...
Add zsh completion for docker log options 'max-buffer-size|mode'
2017-02-16 20:51:31 -05:00
Steve Durrheimer
ba97d6be90
Add zsh completion for docker log options 'max-buffer-size|mode'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-02-15 08:49:13 +01:00
Brian Goff
e70227e6d2
Merge pull request #30873 from albers/completion-fix-start--checkpoint
...
Fix bash completion for `start --checkpoint`
2017-02-14 16:00:15 -05:00
Brian Goff
03db46362e
Merge pull request #30941 from sdurrheimer/zsh-completion-service-logs
...
Add zsh completion for 'docker service logs' command
2017-02-14 15:59:19 -05:00
Brian Goff
4f6e4bfd02
Merge pull request #30943 from sdurrheimer/zsh-completion-checkpoint
...
Add zsh completion for 'docker checkpoint' commands
2017-02-14 15:58:45 -05:00
Brian Goff
da9a162301
Merge pull request #30945 from sdurrheimer/zsh-completion-plugin
...
Add zsh completion for missing 'docker plugin' commands and options
2017-02-14 15:57:25 -05:00
Vincent Demeester
24523d9b75
Merge pull request #30396 from sdurrheimer/zsh-completion-hide-legacy-commands
...
Zsh completion hide legacy commands
2017-02-14 19:42:25 +01:00
Vincent Demeester
4163b5cbd5
Merge pull request #30983 from tianon/usr-bin-env-bash
...
Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash"
2017-02-13 20:48:05 +01:00
Kenfe-Mickaël Laventure
c9fa3eed1b
Merge pull request #30823 from albers/completion-plugin-upgrade
...
Add bash completion for `docker plugin upgrade`
2017-02-13 11:09:21 -08:00
Tianon Gravi
52379fa76d
Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash"
...
This is especially important for distributions like NixOS where `/bin/bash` doesn't exist, or for MacOS users who've installed a newer version of Bash than the one that comes with their OS.
Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
2017-02-13 11:01:54 -08:00
Alexander Morozov
ca3f82752c
Merge pull request #30980 from albers/completion-mode-non-blocking
...
Fix bash completion for `--log-opt mode`
2017-02-13 11:00:27 -08:00
Harald Albers
2c52ec8403
Add bash completion for docker plugin upgrade
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-13 19:36:54 +01:00
Harald Albers
1fdb54eaf3
Fix bash completion for --log-opt mode
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-13 18:49:37 +01:00
Brian Goff
9ec42d4c3c
Merge pull request #30948 from sdurrheimer/zsh-completion-service-format
...
Add zsh completion for 'docker {service ls,stack services} --format'
2017-02-13 09:57:15 -05:00
Brian Goff
ae190da1d2
Merge pull request #30949 from sdurrheimer/zsh-completion-ps-ports-filter
...
Add zsh completion for 'docker {ps,service ls} --filter expose|publish'
2017-02-13 09:44:46 -05:00
Brian Goff
6ab2220043
Merge pull request #30947 from sdurrheimer/zsh-completion-daemon-default-shm-size
...
Add zsh completion for 'dockerd --default-shm-size'
2017-02-13 09:34:42 -05:00
Brian Goff
0d9bb4ee12
Merge pull request #30944 from sdurrheimer/zsh-completion-build-squash
...
Add zsh completion for 'docker build --squash'
2017-02-13 09:33:39 -05:00
Sebastiaan van Stijn
27ab008626
Merge pull request #30940 from sdurrheimer/zsh-completion-swarm-unlock-cmds
...
Add zsh completion for 'docker swarm unlock|unlock-key' commands
2017-02-12 23:35:46 -08:00
Steve Durrheimer
ac56080930
Add zsh completion for 'docker {ps,service ls} --filter expose|publish'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-02-12 21:24:13 +01:00
Steve Durrheimer
8afb7f035d
Add zsh completion for 'docker {service ls,stack services} --format'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-02-12 21:17:00 +01:00
Steve Durrheimer
1c387303af
Add zsh completion for 'dockerd --default-shm-size'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-02-12 21:10:37 +01:00
Steve Durrheimer
7ee899065f
Add zsh completion for missing 'docker plugin' commands and options
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-02-12 20:52:15 +01:00
Steve Durrheimer
5b3f5f97f2
Add zsh completion for 'docker build --squash'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-02-12 20:11:13 +01:00
Steve Durrheimer
0011a9eddd
Add zsh completion for 'docker checkpoint' commands
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-02-12 20:06:38 +01:00
Steve Durrheimer
a89a104fb6
Add zsh completion for 'docker service logs' command
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-02-12 17:54:34 +01:00
Steve Durrheimer
e9a10ef4ad
Add zsh completion for 'docker swarm unlock|unlock-key' commands
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-02-12 17:44:17 +01:00