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:
committed by
Zbigniew Jędrzejewski-Szmek
parent
babf4f68fc
commit
afa879c3b4
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user