3 ms·
Can someone comment on how to get better colors on eshell? The only thing that stops me from using it is that xterm-256color and ansi-color and all the article
by viksit 7y ago
Can someone comment on how to get better colors on eshell?
The only thing that stops me from using it is that xterm-256color and ansi-color and all the articles on the web talking about colors ultimately say this - the terminal emulator that it ships with just cannot do better colors?
(Eg when you do a ‘cargo run’ for rust, the error colors aren’t even highlighted in eshell)
- deleted 7y ago[deleted]
- hammerandtongs 7y agohttps://github.com/atomontage/xterm-color https://github.com/atomontage/xterm-color That looked like the way to do it but I haven't tried yet.
- spellcard199 7y agoI tried and it mostly works, but for rustc/cargo in particular you also have to set the $TERM environment variable to "xterm" [1]. [1] https://github.com/rust-lang/rust/issues/45728#issuecomment-368359203 https://github.com/rust-lang/rust/issues/45728#issuecomment-...
- girvo 7y agoInterestingly, I've gotten used to checking $TERM and making sure it's set due to entering Docker containers to poke around them: in a lot of images, it's unset, and you get really old-school terminal emulator behaviour without it!