Skip to content

Commit ab02084

Browse files
dggsaxCopilot
andcommitted
Use PowerShell shorthand 'iex' in README examples
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent cc9f6ea commit ab02084

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Print a `cd` command for switching to a worktree. Designed for use with `eval`:
152152
eval "$(lk w s fix-auth)"
153153

154154
# PowerShell
155-
lk w s fix-auth | Invoke-Expression
155+
lk w s fix-auth | iex
156156

157157
# Switch to the main worktree (no name)
158158
eval "$(lk w s)"
@@ -165,7 +165,7 @@ pipe to your shell for automatic directory switching:
165165

166166
```powershell
167167
# PowerShell
168-
lk w a fix-auth | Invoke-Expression
168+
lk w a fix-auth | iex
169169
```
170170

171171
```bash

0 commit comments

Comments
 (0)