Merge pull request #11469 from albers/completion-cp

restrict bash completion for hostdir arg to directories
This commit is contained in:
Jessie Frazelle 2015-03-23 15:31:00 -07:00
commit bcb369af11

View file

@ -325,7 +325,7 @@ _docker_cp() {
(( counter++ ))
if [ $cword -eq $counter ]; then
_filedir
_filedir -d
return
fi
;;