Skip to content
This repository has been archived by the owner on Sep 23, 2022. It is now read-only.

Commit

Permalink
deprecation proposal
Browse files Browse the repository at this point in the history
Hello :)

I had been working on a similar completion tool some time ago, that I've completely rewritten lately (https://github.com/bamarni/symfony-console-autocomplete).

It comes with various improvements compared to this one (no php code, doesn't touch COMP_WORDBREAKS directly, etc.) and also allows to dump a static completion file for a given tool, instead of inspecting it on the fly, which is slower.

As I saw that this one is unmaintained, I'm proposing to deprecate it for mine, what do you think?
  • Loading branch information
bamarni committed Dec 23, 2015
1 parent adb72f3 commit ca5cac1
Showing 1 changed file with 2 additions and 46 deletions.
48 changes: 2 additions & 46 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,3 @@
## Not actively maintained
## Deprecated

This project is not actively maintained by KnpLabs. Please contact us if you would like to take over.

# Symfony2 autocomplete

This is a very simple script to autocomplete symfony2 commands in a bash shell.

It easier to install than the KnplabsSymfony2AutocompleteBundle because it is only a single file.
No need to change anything in your Symfony2 project.

The script itself is not nice (you'll discover some PHP inside ) - but it gets the job done and could be useful to some people.

## Install

Download the `symfony2-autocomplete.bash`.

For example, if you want to be able to pull the changes in the future:

cd ~/Sites/
git clone https://github.com/KnpLabs/symfony2-autocomplete

Now edit your `bashrc`.

**MacOS:**

mate ~/.bash_profile

Add a `source` command at the end:

source ~/Sites/symfony2-autocomplete/symfony2-autocomplete.bash

**Linux:**

*`bash-completion` must be installed.*

sudo cp symfony2-autocomplete.bash /etc/bash_completion.d/

Add the following line to your `~/.bashrc` or `.bash_profile`:

if [ -e ~/symfony2-autocomplete.bash ]; then
. ~/symfony2-autocomplete.bash
fi

Restart your bash and you should be able to autocomplete in a Symfony2 project:

./app/console doc[TAB]
This project has been deprecated for **[bamarni/symfony-console-autocomplete](https://github.com/bamarni/symfony-console-autocomplete)**.

0 comments on commit ca5cac1

Please sign in to comment.