Skip to content

Commit f734f73

Browse files
authored
Merge pull request #4 from Tienbruh/hoonbranch
edit readme structure
2 parents 080a818 + f724c8b commit f734f73

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,12 +684,17 @@ pip install openai
684684
register-python-argcomplete --shell powershell openai > ~/openai.psm1
685685
```
686686

687-
3. Open the [``$PROFILE``](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_profiles?view=powershell-7.4&viewFallbackFrom=powershell-7.3#how-to-create-a-profile) by running ``notepad $PROFILE`` and add this following line:
687+
3. If you don't already have a ``$PROFILE`` you can add this by running:
688+
```shell
689+
New-Item -ItemType File -Path $PROFILE -Force
690+
```
691+
692+
4. Open the [``$PROFILE``](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_profiles?view=powershell-7.4&viewFallbackFrom=powershell-7.3#how-to-create-a-profile) by running ``notepad $PROFILE`` and add this following line:
688693
```shell
689694
Import-Module "~/openai.psm1"
690695
```
691696

692-
4. Restart the terminal and try:
697+
5. Restart the terminal and try:
693698
```shell
694699
openai <TAB>
695700
```

0 commit comments

Comments
 (0)