bash-completion: accept files for --bind/--bind-ro options

This commit is contained in:
Frantisek Sumsal 2019-04-25 20:07:03 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent babf4f68fc
commit afa879c3b4
1 changed files with 2 additions and 2 deletions

View File

@ -102,8 +102,8 @@ _systemd_nspawn() {
comps='no auto guest try-guest host try-host'
;;
--bind|--bind-ro)
compopt -o nospace
comps=$(compgen -S/ -A directory -- "$cur" )
compopt -o nospace -o filenames
comps=$(compgen -f -- "$cur" )
;;
--tmpfs)
compopt -o nospace