diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2019-04-25 20:07:03 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-04-26 08:06:23 +0200 |
commit | afa879c3b42bcb948e2a01eb378a24f26fd64a6f (patch) | |
tree | 53f78a320ff7e305204616ad9f2b017fc97469da /shell-completion/bash/systemd-nspawn | |
parent | bash-completion: process only non-template units for systemctl isolate (diff) | |
download | systemd-afa879c3b42bcb948e2a01eb378a24f26fd64a6f.tar.xz systemd-afa879c3b42bcb948e2a01eb378a24f26fd64a6f.zip |
bash-completion: accept files for --bind/--bind-ro options
Diffstat (limited to 'shell-completion/bash/systemd-nspawn')
-rw-r--r-- | shell-completion/bash/systemd-nspawn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell-completion/bash/systemd-nspawn b/shell-completion/bash/systemd-nspawn index b4bcba8882..941ea9090b 100644 --- a/shell-completion/bash/systemd-nspawn +++ b/shell-completion/bash/systemd-nspawn @@ -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 |