Skip to content

less command does not show text in colors #57

Description

@nippyin

Added following in my .bashrc. But when i do less ~/.bashrc i do not see any color text.

export LESS_TERMCAP_mb="[34mESC[35m" # magenta
export LESS_TERMCAP_md="[34mESC[33m" # yellow
export LESS_TERMCAP_me="" # "[34mESC0m"
export LESS_TERMCAP_se="" # "[34mESC0m"
export LESS_TERMCAP_so="[34mESC[34m" # blue
export LESS_TERMCAP_ue="" # "[34mESC0m"
export LESS_TERMCAP_us="[34mESC[4m" # underline

------------------------------- pager ------------------------------

if [[ -x /usr/bin/lesspipe ]]; then
export LESSOPEN="| /usr/bin/lesspipe %s";
export LESSCLOSE="/usr/bin/lesspipe %s %s";
fi

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions