Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove core:init command. #4875

Merged
merged 1 commit into from Oct 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 0 additions & 4 deletions docs/site-aliases.md
Expand Up @@ -75,10 +75,6 @@ drush:
- /etc/drush/sites
```

The command `drush core:init` will automatically configure your
~/.drush/drush.yml configuration file to add `~/.drush/sites` and
`/etc/drush/sites` as locations where alias files may be placed.

A canonical alias named _example_ that points to a local
Drupal site named at http://example.com like this:

Expand Down
7 changes: 3 additions & 4 deletions examples/example.prompt.sh
Expand Up @@ -4,14 +4,13 @@
#
# Note: This file does a lot, and is designed for Bash. If you want to show the
# currently set alias in your prompt, use the first 2 values below as an example.
# This example can be used directly for the POWERLEVEL9K theme for Oh My Zsh.

# This section can be used for the POWERLEVEL9K theme for Oh My Zsh.
#FILE="${TMPDIR:-/tmp/}/drush-env-${USER}/drush-drupal-site-$$"
#POWERLEVEL9K_CUSTOM_DRUSH="[ -r $FILE ] && cat $FILE"
#POWERLEVEL9K_CUSTOM_DRUSH_BACKGROUND="green"
#POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir vcs custom_drush)
#
# Use `drush init` to copy this to ~/.drush/drush.prompt.sh, and source it in
# ~/.bashrc or ~/.bash_profile.

#
# Note that your Bash session must already have the __git_ps1 function available.
# Typically this is provided by git-prompt.sh, see instructions for downloading
Expand Down
191 changes: 0 additions & 191 deletions src/Commands/core/InitCommands.php

This file was deleted.

38 changes: 0 additions & 38 deletions tests/functional/InitCommandTest.php

This file was deleted.