Skip to content

Commit

Permalink
Add a paragraph on how to install jj completions into Powershell.
Browse files Browse the repository at this point in the history
Change USER into $HOME.
  • Loading branch information
keltia authored and martinvonz committed Jan 2, 2025
1 parent c522b5d commit 602b79f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/install-and-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,3 +276,14 @@ source-bash $(jj util completion)
```

(dynamic completions not available yet)

### Powershell

Insert this line in your $PROFILE file:
(usually $HOME\Documents\PowerShell\Microsoft.PowerShell_profile.ps1)

```shell
Invoke-Expression (& { (jj util completion power-shell | Out-String) })
```
(dynamic completions not available yet)

0 comments on commit 602b79f

Please sign in to comment.