Harald Albers
ce2222777d
Update bash completion for env --shell
...
Signed-off-by: Harald Albers <github@albersweb.de >
2018-05-04 11:30:35 +02:00
Harald Albers
e5fca19c70
Add support for new options added in v0.14.0 to bash completion
...
- Added `--client-certs` flag to the docker-machine `regenerate-certs` command.
- Added `--quiet` flag to `scp` to suppress progress output
Signed-off-by: Harald Albers <github@albersweb.de >
2018-03-01 13:22:38 -08:00
Harald Albers
cf9d44d45a
Add bash completion for docker-machine mount
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-11-01 17:47:22 +01:00
Ben Woosley
d983b844e9
Don't use extglob in bash/docker-machine.bash
...
extglob is not needed here - the only call is:
_docker_machine_map_key_of_current_option '--filter'
So $glob is always '--filter', so there isn't every a pattern-list to match.
According to my testing completion for docker-machine
ls --filter completion works for both driver and state
Fixes #4126
Introduced in fd9a0a683c
Signed-off-by: Ben Woosley <ben.woosley@gmail.com >
2017-06-16 16:33:50 -07:00
Nathan LeClaire
9e92ef1af4
Merge pull request #4087 from albers/completion-ls--filters
...
Add bash completion for `docker-machine ls` filters
2017-05-11 17:19:55 -07:00
Nathan LeClaire
e2bf2d018c
Merge pull request #4084 from albers/completion-provision
...
Add bash completion for `docker-machine provision`
2017-05-11 17:19:24 -07:00
Harald Albers
fd9a0a683c
Add bash completion for docker-machine ls filters
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-05-11 09:42:24 +02:00
Harald Albers
bd3211dbdf
bash completion for regenerate-certs completes running machines only
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-05-11 08:51:37 +02:00
Harald Albers
1729729eb3
Add bash completion for docker-machine provision
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-05-11 08:50:49 +02:00
Harald Albers
96a609fb68
Add bash completion for docker-machine scp --delta
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-05-10 11:08:07 +02:00
Harald Albers
d2d8216b7f
Update bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-03-15 13:38:25 +01:00
Harald Albers
39d0bb778e
Add bash completion of machines to docker-machine rm
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-02-24 17:46:12 +01:00
Nathan LeClaire
405771c1f6
Merge pull request #4003 from albers/completion-exe
...
Activate bash completion for Windows executable
2017-02-23 12:10:32 -08:00
Harald Albers
01ac9c7e71
Activate bash completion for Windows executable
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-02-23 17:42:29 +01:00
Harald Albers
433961b011
Refine bash completion of machines in start and stop commands
...
Signed-off-by: Harald Albers <github@albersweb.de >
2017-02-23 17:31:26 +01:00
Harald Albers
3461a1a579
Add bash completion for driver specific options
...
Signed-off-by: Harald Albers <harald.albers@intern.hamburger-software.de >
2017-02-21 13:49:42 +01:00
Harald Albers
b881eceec8
Add bash completion for drivers
...
Signed-off-by: Harald Albers <harald.albers@intern.hamburger-software.de >
2017-02-21 11:12:23 +01:00
Ke Xu
f4a5183127
Fix zsh-completion syntax error ( #3625 )
...
Fixes https://github.com/docker/machine/issues/3583
Signed-off-by: Ke Xu <leonhartx.k@gmail.com >
2016-08-03 10:32:44 -07:00
Ke Xu
0ca33d886c
add swarm-join-opt support
...
Signed-off-by: Ke Xu <leonhartx.k@gmail.com >
2016-06-27 18:17:44 +09:00
Ke Xu
8f4c947d42
grep text for per-driver options
...
Signed-off-by: Ke Xu <leonhartx.k@gmail.com >
2016-04-30 11:17:01 +09:00
Ke Xu
24103260a3
#3191 add zsh completion
...
Signed-off-by: Ke Xu <leonhartx.k@gmail.com >
2016-04-26 11:51:40 +09:00
Nathan LeClaire
e0570c0c2b
Merge pull request #2702 from dgageot/ls-format
...
Add --format, -f flag to ls command
2016-01-04 14:22:43 -08:00
David Gageot
adc60712c8
Allow custom format for ls
...
Signed-off-by: David Gageot <david@gageot.net >
2015-12-28 17:15:07 +01:00
David Gageot
eb33b7e9ed
Fix completion installation guide
...
Signed-off-by: David Gageot <david@gageot.net >
2015-12-28 15:45:24 +01:00
David Schlosnagle
464e19ba1c
Delegate to docker-machine from wrapper
...
Fix an issue with the bash __docker-machine-wrapper function where
commands other than `use` would result in an error.
Signed-off-by: David Schlosnagle <schlosna@gmail.com >
2015-12-19 04:29:46 -05:00
Anil Belur
dcdbd84452
Updated the bash completion with new options added.
...
now changes should reflect the following:
dm ls --timeout
dm env --no-proxy
dm --bugsnag-api-token --github-api-token
Signed-off-by: Anil Belur <askb23@gmail.com >
2015-12-17 10:20:22 +05:30
David Gageot
3612c55677
Add version to machine ls
...
Signed-off-by: David Gageot <david@gageot.net >
2015-12-03 16:27:42 +01:00
Ben Hamill
5707b38a9e
Replace - with _ in bash completion identifiers.
...
Signed-off-by: Ben Hamill <git-commits@benhamill.com >
2015-11-17 15:20:29 -06:00
David M. Lee
7180ddca87
Adding bash completion and helper scripts
...
This patch adds some bash helper scripts.
* docker-machine.bash - command completion for docker-machine
* docker-machine-prompt.bash - function for putting the active machine
name in PS1
* docker-machine-wrapper.bash - function wrapper adding an `use`
command that runs `eval $(docker-machine env whatever)` in the
current shell.
Signed-off-by: David M. Lee <dlee@respoke.io >
2015-10-22 15:34:42 -05:00