We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b92f1b9 commit b962122Copy full SHA for b962122
pages/common/gh-completion.md
@@ -0,0 +1,20 @@
1
+# gh completion
2
+
3
+> Generate shell completion scripts for GitHub CLI commands.
4
+> More information: <https://cli.github.com/manual/gh_completion>.
5
6
+- Display the subcommand help:
7
8
+`gh completion`
9
10
+- Print a completion script:
11
12
+`gh completion --shell {{bash|zsh|fish|powershell}}`
13
14
+- Append the `gh` completion script to `~/.bashrc`:
15
16
+`gh completion --shell {{bash}} >> {{~/.bashrc}}`
17
18
+- Append the `gh` completion script to `~/.zshrc`:
19
20
+`gh completion --shell {{zsh}} >> {{~/.zshrc}}`
0 commit comments