Merge pull request #1164 from zsh-users/update-rails

update rails completion
This commit is contained in:
Shohei YOSHIDA 2025-10-24 20:02:34 +09:00 committed by GitHub
commit 55e9d8e6eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,7 @@
# Description
# -----------
#
# Completion script for Ruby on Rails 7.2.0 (https://rubyonrails.org/).
# Completion script for Ruby on Rails 8.1.0 (https://rubyonrails.org/).
#
# ------------------------------------------------------------------------------
# Authors
@ -296,7 +296,7 @@ _rails_new() {
'(-r --ruby)'{-r,--ruby=}'[Path to the Ruby binary of your choice]:path:_files' \
'(-b --builder)'{-b,--builder=}'[Path to a application builder(can be a filesystem path or URL)]: :_rails_path_or_url' \
'(-m --template)'{-m,--template=}'[Path to an application template(can be a filesystem path or URL)]: :_rails_path_or_url' \
'(-d --database)'{-d,--database=}'[Preconfigure for selected database]:database:(mysql trilogy oracle postgresql sqlite3 frontbase ibm_db sqlserver jdbcmysql jdbcsqlite3 jdbcpostgresql jdbc)' \
'(-d --database)'{-d,--database=}'[Preconfigure for selected database]:database:(mysql trilogy oracle postgresql sqlite3 frontbase ibm_db sqlserver jdbcmysql jdbcsqlite3 jdbcpostgresql jdbc mariadb-mysql mariadb-trilogy)' \
--skip-gemfile"[Don't create a Gemfile]" \
--skip-bundle"[Don't run bundle install]" \
'(-G --skip-git)'{-G,--skip-git}'[Skip git init]' \
@ -320,6 +320,7 @@ _rails_new() {
--skip-dev-gems'[Skip development gems(e.g. web-console)]' \
--skip-rubocop'[Skip RuboCop setup]' \
--skip-brakeman'[Skip brakeman setup]' \
--skip-bundler-audit'[Skip bundler-audit setup]' \
--skip-ci'[Skip GitHub CI files]' \
--dev'[Setup the application with Gemfile pointing to your Rails checkout]' \
--devcontainer'[Generate devcontainer files]' \