Skip to content

Commit

Permalink
Merge pull request #4 from Tienbruh/hoonbranch
Browse files Browse the repository at this point in the history
edit readme structure
  • Loading branch information
hoonman authored Aug 2, 2024
2 parents 080a818 + f724c8b commit f734f73
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -684,12 +684,17 @@ pip install openai
register-python-argcomplete --shell powershell openai > ~/openai.psm1
```

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:
3. If you don't already have a ``$PROFILE`` you can add this by running:
```shell
New-Item -ItemType File -Path $PROFILE -Force
```

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:
```shell
Import-Module "~/openai.psm1"
```

4. Restart the terminal and try:
5. Restart the terminal and try:
```shell
openai <TAB>
```

0 comments on commit f734f73

Please sign in to comment.