mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-10 01:17:44 +03:00
bash-completion: accept files for --bind/--bind-ro options
This commit is contained in:
parent
babf4f68fc
commit
afa879c3b4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user