File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,20 @@ alias ddev='pub run dart_dev'
100
100
Symlink or copy the file ` tool/ddev-completion.sh ` into
101
101
` /etc/bash_completion.d/ ` (or wherever your completion scripts live, if you
102
102
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.
105
117
106
118
#### Configuration
107
119
In order to configure ` dart_dev ` for a specific project, run ` ddev init ` or
You can’t perform that action at this time.
0 commit comments