Skip to content

Commit 1ef8de5

Browse files
georgmufilipesilva
authored andcommitted
fix(@angular/cli): update completion suggestion for .bashrc and .zshrc
This way, it always contains the completion matching the installed version of angular-cli.
1 parent dfe5990 commit 1ef8de5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/@angular/cli/commands/completion.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ const CompletionCommand = Command.extend({
144144
# 2. Produce Bash-only completion: "ng completion -b" or "ng completion --bash".
145145
# 3. Produce Zsh-only completion: "ng completion -z" or "ng completion --zsh".
146146
#
147-
# Installation: ng completion -b >> ~/.bashrc
148-
# or ng completion -z >> ~/.zshrc
147+
# Usage: . <(ng completion --bash) # place it appropriately in .bashrc or
148+
# . <(ng completion --zsh) # find a spot for it in .zshrc
149149
#`);
150150

151151
if (commandOptions.all && !commandOptions.bash) {

0 commit comments

Comments
 (0)