1
0
mirror of https://github.com/systemd/systemd.git synced 2025-12-06 00:24:23 +03:00

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

View File

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