Merge pull request #11469 from albers/completion-cp
restrict bash completion for hostdir arg to directories
This commit is contained in:
commit
bcb369af11
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ _docker_cp() {
|
|||
(( counter++ ))
|
||||
|
||||
if [ $cword -eq $counter ]; then
|
||||
_filedir
|
||||
_filedir -d
|
||||
return
|
||||
fi
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue