Skip to content

How to filter history results to items starting with specific string using ^ #169

Answered by PatrickF1
risongithub asked this question in Q&A
Discussion options

You must be logged in to vote

Ok I found a solution. All you need to do is pass in --nth="4.." via FZF_DEFAULT_OPTS and the history string won't be searched. To do this, try following the instructions here https://github.com/PatrickF1/fzf.fish/wiki/FAQ#how-can-i-pass-fzf-options-specific-to-one-command.
In the meantime, when I finally have time, I'm going to implement passing in custom fzf opts to each command to make this process easier.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by PatrickF1
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #169 on June 02, 2021 16:56.