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

less command does not show text in colors #57

Open
nippyin opened this issue Aug 2, 2022 · 0 comments
Open

less command does not show text in colors #57

nippyin opened this issue Aug 2, 2022 · 0 comments

Comments

@nippyin
Copy link

nippyin commented Aug 2, 2022

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

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

No branches or pull requests

1 participant