diff options
| author | Shohei YOSHIDA <syohex@gmail.com> | 2023-10-02 14:12:31 +0900 |
|---|---|---|
| committer | Shohei YOSHIDA <syohex@gmail.com> | 2023-10-02 14:14:03 +0900 |
| commit | e7ccc5594743032a487d8f2d785458732bcf4cbe (patch) | |
| tree | 250c7d819f043efa6177f09fe97d9140daf572ac /src/_rails | |
| parent | Add task completions (diff) | |
| download | zsh-completions-e7ccc5594743032a487d8f2d785458732bcf4cbe.tar zsh-completions-e7ccc5594743032a487d8f2d785458732bcf4cbe.tar.gz zsh-completions-e7ccc5594743032a487d8f2d785458732bcf4cbe.tar.bz2 zsh-completions-e7ccc5594743032a487d8f2d785458732bcf4cbe.tar.lz zsh-completions-e7ccc5594743032a487d8f2d785458732bcf4cbe.tar.xz zsh-completions-e7ccc5594743032a487d8f2d785458732bcf4cbe.tar.zst zsh-completions-e7ccc5594743032a487d8f2d785458732bcf4cbe.zip | |
Fix missing completion
Diffstat (limited to 'src/_rails')
| -rw-r--r-- | src/_rails | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -126,10 +126,12 @@ _rails() { '(-c --color --no-color)--no-color[Disable color in the output]' \ '--profile=[Enable profiling of tests and list the slowest test cases]:count' \ '(-p --pride)'{-p,--pride}'[Show your testing pride]' \ + '*:: :_files -g "*.rb"' \ && ret=0 ;; (runner|r) _arguments \ + '(- *)'{-h,--help}'[Show this help message and quit]' \ '(-e --environment)'{-e,--environment=}'[The environment to run "runner"]:env:(test development production)' \ '*:: :_files -g "*.rb"' \ && ret=0 @@ -142,6 +144,7 @@ _rails() { ;; (routes) _arguments \ + '(- *)'{-h,--help}'[Show this help message and quit]' \ '(-c --controller)'{-c,--controller=}'[Filter by a specific controller]:controller' \ '(-g --grep)'{-g,--grep}'[Grep routes by a specific pattern]' \ '(-E --expanded)'{-E,--expanded}'[Print routes expanded vertically with parts explained]' \ @@ -151,6 +154,7 @@ _rails() { (*) _arguments \ '(- *)'{-h,--help}'[Show help message and quit]' \ + '*:: :_files' \ && ret=0 ;; esac |
