diff options
Diffstat (limited to 'etc/completion/bash')
| -rw-r--r-- | etc/completion/bash/guix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix index 01b0e203942..9c851e37170 100644 --- a/etc/completion/bash/guix +++ b/etc/completion/bash/guix | |||
| @@ -154,7 +154,10 @@ _guix_complete () | |||
| 154 | fi | 154 | fi |
| 155 | elif _guix_is_command "system" | 155 | elif _guix_is_command "system" |
| 156 | then | 156 | then |
| 157 | _guix_complete_subcommand | 157 | case $COMP_CWORD in |
| 158 | 2) _guix_complete_subcommand;; | ||
| 159 | *) _guix_complete_file;; # TODO: restrict to *.scm | ||
| 160 | esac | ||
| 158 | elif _guix_is_command "import" | 161 | elif _guix_is_command "import" |
| 159 | then | 162 | then |
| 160 | _guix_complete_subcommand | 163 | _guix_complete_subcommand |
