Parcourir la source

Favour yml and yaml extensions in bash completion for -f

Signed-off-by: Harald Albers <[email protected]>
Harald Albers il y a 10 ans
Parent
commit
3a8a25b9b3
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      contrib/completion/bash/docker-compose

+ 1 - 1
contrib/completion/bash/docker-compose

@@ -94,7 +94,7 @@ _docker-compose_build() {
 _docker-compose_docker-compose() {
 	case "$prev" in
 		--file|-f)
-			_filedir
+			_filedir y?(a)ml
 			return
 			;;
 		--project-name|-p)