Skip to content

Commit a3671fe

Browse files
Expand README a bit and mark script executable.
1 parent 11a5bc8 commit a3671fe

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,20 @@ alias ddev='pub run dart_dev'
100100
Symlink or copy the file `tool/ddev-completion.sh` into
101101
`/etc/bash_completion.d/` (or wherever your completion scripts live, if you
102102
have installed Bash through Homebrew on a Mac, for instance, this will be
103-
`/usr/local/etc/bash_completion.d/`). Next time you load a Bash session you'll
104-
have basic completions for the `ddev` alias described above.
103+
`/usr/local/etc/bash_completion.d/`).
104+
105+
If you are using Bash installed through Homebrew, you'll also need to install
106+
the completion machinery with `brew install bash-completion`. Then make sure
107+
something like the following is in your `.bashrc` file:
108+
109+
```
110+
if [ -f $(brew --prefix)/etc/bash_completion ]; then
111+
. $(brew --prefix)/etc/bash_completion
112+
fi
113+
```
114+
115+
Next time you load a Bash session you'll have basic completions for the `ddev`
116+
alias described above.
105117

106118
#### Configuration
107119
In order to configure `dart_dev` for a specific project, run `ddev init` or

tool/ddev-completion.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)