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 -X has potentially unintended side effects #2

Open
ketsuban opened this issue Oct 15, 2014 · 0 comments
Open

less -X has potentially unintended side effects #2

ketsuban opened this issue Oct 15, 2014 · 0 comments

Comments

@ketsuban
Copy link

The -X flag on less does have the effect of allowing through colour codes from ls --color=always, but it also disables pager functionality. This can potentially result in odd behaviour - for example, urxvt will not treat less as a secondary screen and thus will ignore the secondaryScreen and secondaryScroll (and, with a patch, secondaryWheel) settings.

The version of less which comes with Arch has a -R flag which allows through colour codes, and is thus the preferred option for your ll macro.

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