Skip to content

Commit

Permalink
feat: show more results in mcfly window
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdaclan committed May 15, 2024
1 parent 6593e4f commit db45ce4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions toolboxes/powershell-toolbox/profile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ Set-PsFzfOption -PSReadlineChordProvider 'Ctrl+t' -PSReadlineChordReverseHistory

# McFly
Invoke-Expression -Command $(mcfly init powershell | Out-String)

Check warning on line 36 in toolboxes/powershell-toolbox/profile.ps1

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

toolboxes/powershell-toolbox/profile.ps1#L36

Invoke-Expression is used. Please remove Invoke-Expression from script and find other options instead.
$env:MCFLY_RESULTS=50
# $env:MCFLY_RESULTS_SORT="LAST_RUN" # defaults to RANK
# $env:MCFLY_LIGHT = "TRUE"

# PowerShell parameter completion shim for the dotnet CLI
Expand Down

0 comments on commit db45ce4

Please sign in to comment.