Repository navigation
fix(soe): re-land ls/grep colour as a fix - #132
Merged
Merged
Conversation
Colouring is off on any box whose home directory did not come from the distro's own skel. A Fedora-derived .bashrc on Ubuntu leaves LS_COLORS empty and no ls alias, so ls and the prompt render monochrome. Uses only what each OS ships. GNU ls (Linux, or macOS with brew coreutils) reads LS_COLORS. BSD ls ignores LS_COLORS and reads LSCOLORS. The block detects which ls it has at shell start. Colours use ANSI indices rather than RGB. They track the terminal theme and need no light/dark handling. Solarized keeps 14 of 16 palette slots identical across its light and dark variants. The block goes in the interactive shell rc. Aliases are not exported. Ubuntu ships its profile.d hook commented out in /etc/bash.bashrc, so a terminal's non-login shell never reads /etc/profile.d. System-wide by default, soe_ls_colour_scope=user for a single account.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#79 landed on main as
feat(soe)(7c77f61), so the next release would be a minor. The squash took the single commit's subject, not the PR title.revert:plus the quoted original header. semantic-release matches that form to drop both commits from the bump.fix(soe).The tree is identical to main.
Merge with REBASE. A squash folds both commits into one and the revert is lost.