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

Support coloured output for ls and grep commands #22

Merged
merged 1 commit into from
Jul 19, 2024
Merged

Conversation

ianthomas23
Copy link
Member

Support coloured output for ls and grep commands. This is actually a surprisingly small change in the code just to set the TERM environment variable, now that aliases are set up to use colour in both ls and grep commands by default. It uses the default ls colours which can be checked using dircolors --print-ls-colors; these could be overridden by setting an LS_COLORS env var.

Screenshot 2024-07-18 at 08 51 01

@ianthomas23 ianthomas23 added the enhancement New feature or request label Jul 18, 2024
@ianthomas23 ianthomas23 merged commit 6373b50 into main Jul 19, 2024
4 checks passed
@ianthomas23 ianthomas23 deleted the term-color branch July 19, 2024 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant