Files
docker-cli/components/engine/contrib
Vincent Bernat fe2d726b98 zsh: fix completion when docker output only has the header line
Unfortunately, `(f)` aka `(ps:\n:)` flag will not create an array when
there is only one line. The subsequent use of indexes will then affect
the string. This leads to `docker rmi <tab>` to complete on the header
line instead of nothing.

Therefore, for each use of `(f)`, we ensure that we have an extra new
line to be sure we get an array.

Credit to @povesteam for the original report and fix in #27373.

Signed-off-by: Vincent Bernat <vincent@bernat.im>
Upstream-commit: 44b83c56b6e52e08e5c1e580b042421069707286
Component: engine
2016-10-17 17:23:09 +02:00
..
2016-05-28 21:08:20 -07:00
2016-08-23 08:45:46 +05:30
2015-11-05 17:09:57 -05:00
2015-06-10 13:43:35 -07:00
2016-09-14 12:04:04 +02:00

The contrib directory contains scripts, images, and other helpful things which are not part of the core docker distribution. Please note that they could be out of date, since they do not receive the same attention as the rest of the repository.