Skip to content

Commit

Permalink
Merge pull request #385 from YoshidaRyoko/pwshfix
Browse files Browse the repository at this point in the history
fix(pwsh): fix command with argument searching
  • Loading branch information
cantino authored Dec 18, 2023
2 parents ea76263 + 3676868 commit 217e0e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcfly.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ $null = New-Module mcfly {
$cursor = $null
[Microsoft.PowerShell.PSConsoleReadline]::GetBufferState([ref]$line, [ref]$cursor)
"#mcfly: $line" | Out-File -FilePath $env:MCFLY_HISTORY -Append
Invoke-McFly -CommandToComplete $line
Invoke-McFly -CommandToComplete "`"$line`""
}

Export-ModuleMember -Function @(
Expand Down

0 comments on commit 217e0e7

Please sign in to comment.