Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance the eshell with its built-in ansi-color support #16377

Merged
merged 1 commit into from May 11, 2024

Conversation

sunlin7
Copy link
Contributor

@sunlin7 sunlin7 commented Apr 28, 2024

Hi,

The Eshell works with ansi-color on both Emacs-29 and Emacs-30, don't bother the xterm-color package.
So move the the xterm-color initialization code to its initialization function.

This patch will let the Eshell works with most terminal tools colorful, for example, these command lines will work great in the eshell:
$ /bin/ls --color=tty
$ /bin/git status # with git config color.ui always

Please help review the changes. Thanks.

@sunlin7 sunlin7 marked this pull request as draft May 8, 2024 01:13
* layers/+tools/shell/packages.el: Bump the xterm-color package for
* emacs < 29.0.50.
* layers/+tools/shell/README.org: Document for the changes.
@sunlin7 sunlin7 marked this pull request as ready for review May 11, 2024 05:18
@smile13241324 smile13241324 merged commit b5e43c7 into syl20bnr:develop May 11, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants