Commit 30034c7
install: guide user to update PATH for current shell session
When copilot is not on PATH after install, the script now:
- Tells users to restart their shell or source their RC file after
adding the PATH export
- Provides a copy-pasteable one-liner (export PATH + copilot help)
that fixes PATH for the current session and runs the getting started
command
- Only shows the simple 'copilot help' message when it will actually
work
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 9277ab5 commit 30034c7
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
166 | | - | |
167 | 167 | | |
168 | | - | |
169 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
0 commit comments