junegunn / junegunn/fzf

[Feature Request] Color output with --filter (similar to grep)

Open
#4,339 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
83k
Forks
2.9k
Avg merge
17h 8m
Merged PRs (30d)
10

Description

### Checklist

- [x] I have read through the manual page (`man fzf`)
- [x] I have searched through the existing issues
- [x] For bug reports, I have checked if the bug is reproducible in the latest version of fzf

### Output of `fzf --version`

0.61.0 (brew)

### OS

- [x] Linux
- [ ] macOS
- [ ] Windows
- [ ] Etc.

### Shell

- [ ] bash
- [x] zsh
- [ ] fish

### Problem / Steps to reproduce

I'd just like a way to see colors for matches, similar to grep

![Image](https://github.com/user-attachments/assets/f6089b75-ad50-4fad-af54-4c0bb18eeb90)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the --filter entry point and trace how fzf currently formats filtered output. Compare the requested behavior with grep's colorized matches and define the expected output and terminal conditions before implementation; done means the behavior is documented and covered for the relevant --filter cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.