Skip to content

Commit

Permalink
Remove core:init command. (#4875)
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed Oct 30, 2021
1 parent 5011864 commit 2c1e41a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 237 deletions.
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.

0 comments on commit 2c1e41a

Please sign in to comment.