diff --git a/src/_docker-machine b/src/_docker-machine index cf1cfbe..76a2d82 100644 --- a/src/_docker-machine +++ b/src/_docker-machine @@ -18,7 +18,7 @@ # helper function for completing available machines __machines() { declare -a machines_cmd - machines_cmd=($(docker-machine ls|tail +2|awk '{print $1":"$3"("$4")"}')) + machines_cmd=($(docker-machine ls|tail -n +2|awk '{print $1":"$3"("$4")"}')) _describe 'machines' machines_cmd }