Skip to content

Commit a6f06f8

Browse files
authored
feat: update README
1 parent 115b4b5 commit a6f06f8

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ And if you spot bugs or have features that you'd really like to see in `gh`, ple
2626

2727
Check out the [docs][] for more information.
2828

29+
## Documentation
30+
31+
Read the official docs at [https://cli.github.com/manual/](https://cli.github.com/manual/)
2932

3033
## Comparison with hub
3134

@@ -109,6 +112,16 @@ $ yay -S github-cli
109112

110113
Install a prebuilt binary from the [releases page][]
111114

115+
## Setting an Editor
116+
117+
For macOS and Linux, `gh` will respect the following environment variables, in this order, based on your OS and shell setup:
118+
119+
1. `GIT_EDITOR`
120+
2. `VISUAL`
121+
3. `EDITOR`
122+
123+
On Windows, the editor will currently always be Notepad.
124+
112125
### [Build from source](/source.md)
113126

114127
[docs]: https://cli.github.com/manual

0 commit comments

Comments
 (0)