Skip to content

Commit

Permalink
Trancate property early
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Mar 3, 2024
1 parent a1eb874 commit d75588a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PSFzfHistory.psm1
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Do not add --height option for fzf, it shows nothing in keybind use
function Invoke-FzfHistory ([String]$fuzzy) {
[Microsoft.PowerShell.PSConsoleReadLine]::GetHistoryItems() |
Reverse |
Select-Object -ExpandProperty CommandLine |
Reverse |
AsOrderedSet |
fzf --scheme=history --no-sort --no-height --query $fuzzy
}
Expand Down

0 comments on commit d75588a

Please sign in to comment.