diff options
| author | Oleg Pykhalov <go.wigust@gmail.com> | 2018-06-30 19:50:40 +0300 |
|---|---|---|
| committer | Oleg Pykhalov <go.wigust@gmail.com> | 2018-07-03 06:58:51 +0300 |
| commit | 3a15d0aa9c55881ddc3a21570350a743c28a6c92 (patch) | |
| tree | 88df579792b42ebabe0959ffae5a105792e3bd0c /etc/completion | |
| parent | 9b0a755f642542dd96065ad05ec9d844d8077fd7 (diff) | |
bash completion: Complete files names after 'guix weather -m'.
* etc/completion/bash/guix (_guix_complete): Complete files names after 'guix
weather -m'.
Diffstat (limited to 'etc/completion')
| -rw-r--r-- | etc/completion/bash/guix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix index cc18fbc94df..a593b8112c6 100644 --- a/etc/completion/bash/guix +++ b/etc/completion/bash/guix | |||
| @@ -195,6 +195,12 @@ _guix_complete () | |||
| 195 | elif _guix_is_command "hash" || _guix_is_command "gc" | 195 | elif _guix_is_command "hash" || _guix_is_command "gc" |
| 196 | then | 196 | then |
| 197 | _guix_complete_file | 197 | _guix_complete_file |
| 198 | elif _guix_is_command "weather" | ||
| 199 | then | ||
| 200 | if _guix_is_dash_m | ||
| 201 | then | ||
| 202 | _guix_complete_file | ||
| 203 | fi | ||
| 198 | else | 204 | else |
| 199 | _guix_complete_available_package "$word_at_point" | 205 | _guix_complete_available_package "$word_at_point" |
| 200 | fi | 206 | fi |
