-
|
Take the following I want to use But, when I press enter (finish the search), I want I want the output to be the entire line from the selected value Column 1: Which other tool I need to integrate to |
Beta Was this translation helpful? Give feedback.
Answered by
junegunn
Aug 2, 2025
Replies: 1 comment
-
|
fzf --delimiter ', ' --with-nth '{1}' << 'EOF'
Column 1, Column 2, Column 3, Column 4
Column 1, Column 2, Column 3, Column 4
Column 1, Column 2, Column 3, Column 4
Column 1, Column 2, Column 3, Column 4
Column 1, Column 2, Column 3, Column 4
Column 1, Column 2, Column 3, Column 4
Column 1, Column 2, Column 3, Column 4
Column 1, Column 2, Column 3, Column 4
EOFAnother option is to use fzf --delimiter ', ' --nth 1 --color nth:regular,fg:dim << 'EOF'
Column 1, Column 2, Column 3, Column 4
Column 1, Column 2, Column 3, Column 4
Column 1, Column 2, Column 3, Column 4
Column 1, Column 2, Column 3, Column 4
Column 1, Column 2, Column 3, Column 4
Column 1, Column 2, Column 3, Column 4
Column 1, Column 2, Column 3, Column 4
Column 1, Column 2, Column 3, Column 4
EOF |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gluiz1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
--with-nth:Another option is to use
--nthto limit the search scope: