You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Contrary to my last comment, it turned out it is not that easy for reasons explained in #5356.
If I understand correctly, this is currently blocked by #1396.
After #5635 was fixed by 5eade35 at least ip monitor | command grep dev works now. However ip monitor | grep dev still does not work when using the colored ip fish function. So maybe we really need to wait for #1396.
Activity
mqudsi commentedon Nov 15, 2018
That does drastically improve the speed of finding the most important info in the output, thanks for teaching me about that @exploide!
mqudsi commentedon Nov 18, 2018
@exploide why don't you submit a PR modelled after
grep.fish?exploide commentedon Nov 19, 2018
Usually I'm waiting for feedback from maintainers to see if the proposal is appreciated.
I'll conduct a PR soon :P
exploide commentedon Nov 19, 2018
That was fairly easy 😋
See #5356
exploide commentedon Apr 26, 2019
Contrary to my last comment, it turned out it is not that easy for reasons explained in #5356.
If I understand correctly, this is currently blocked by #1396.
After #5635 was fixed by 5eade35 at least
ip monitor | command grep devworks now. Howeverip monitor | grep devstill does not work when using the colored ip fish function. So maybe we really need to wait for #1396.zanchey commentedon Feb 2, 2021
@krobelus, I suggest backing this out due to the breakage identified in the comments above.
Revert "Color "ip" output if available"
faho commentedon Feb 2, 2021
Reverted as cf4f8ae (also in Integration_3.2.0)
krobelus commentedon Feb 2, 2021
my bad, I thought the breakage was because of piped
isatty🤦exploide commentedon Jul 13, 2024
Meanwhile, iproute2 got a compile-time option to set the coloring behavior as the package maintainer likes.
Fedora uses this to set coloring to auto. Debian will do so in the next release, too. I think other distributions should also do this.
This is the better and shell-independent solution. Works for me :)
I'm fine with closing this but feel free to reopen.