Skip to content

Commit a443885

Browse files
committedSep 7, 2018
docs: update autocomplete section
1 parent 22e00c1 commit a443885

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed
 

‎README.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,17 @@ The phint commands and options can be [autocompleted](https://github.com/adhocor
7171
Setting up auto complete:
7272

7373
```sh
74-
mkdir -p ~/.oh-my-zsh/custom/plugins/phpcli && cd ~/.oh-my-zsh/custom/plugins/phpcli
75-
[ -f ./phpcli.plugin.zsh ] || curl -sSLo ./phpcli.plugin.zsh https://raw.githubusercontent.com/adhocore/php-cli/master/phpcli.plugin.zsh
76-
echo compdef _phpcli phint >> ./phpcli.plugin.zsh
77-
chmod +x ./phpcli.plugin.zsh && source ./phpcli.plugin.zsh && cd -
74+
mkdir -p ~/.oh-my-zsh/custom/plugins/ahccli && cd ~/.oh-my-zsh/custom/plugins/ahccli
75+
76+
[ -f ./ahccli.plugin.zsh ] || curl -sSLo ./ahccli.plugin.zsh https://raw.githubusercontent.com/adhocore/php-cli/master/ahccli.plugin.zsh
77+
78+
echo compdef _ahccli phint >> ./ahccli.plugin.zsh
79+
80+
chmod +x ./ahccli.plugin.zsh && source ./ahccli.plugin.zsh && cd -
7881
```
7982

83+
Dont forget to [add](https://github.com/adhocore/php-cli#load-ahccli-plugin) `ahccli` into `plugins=(... ...)` list in `~/.zshrc` file.
84+
8085
## Usage
8186

8287
It can be used to quickly spin off new project containing all basic and default stuffs. The quick steps are as follows:

0 commit comments

Comments
 (0)
Please sign in to comment.