File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -61,4 +61,21 @@ By default the CLI installs from the `XP_CHANNEL` named `stable` and the
61
61
For example, to install CLI version ` v1.14.0 ` add ` XP_VERSION=v1.14.0 ` to the
62
62
download script curl command:
63
63
64
- ` curl -sL "https://raw.githubusercontent.com/crossplane/crossplane/main/install.sh" | XP_VERSION=v1.14.0 sh `
64
+ ` curl -sL "https://raw.githubusercontent.com/crossplane/crossplane/main/install.sh" | XP_VERSION=v1.14.0 sh `
65
+
66
+ ## Installing shell autocompletions
67
+
68
+ The Crossplane CLI supports shell autocompletions for ` bash ` , ` zsh ` and ` fish ` .
69
+ You can install the autocompletions with the ` completions ` command by adding it to
70
+ your shell's configuration file.
71
+
72
+ ``` shell
73
+ source <( crossplane completions)
74
+ ```
75
+
76
+ {{<hint "note" >}}
77
+ The ` completions ` command generates the autocompletions for your default shell.
78
+ It's not possible to generate autocompletions for a different shell, if you want to
79
+ install the autocompletions for a different shell, you have to configure the Crossplane
80
+ CLI as the completer manually.
81
+ {{< /hint >}}
You can’t perform that action at this time.
0 commit comments