Comments (5)
What is the intent of the re
and co
and xs
entries?
Readline and bash have never supported those, and should always report an error.
What program supports those in LS_COLORS, and what do they do?
from clink.
P.S. what version of Clink were you using before you upgraded? Clink v1.1.0 and greater should have reported error messages about unrecognized prefixes for that LS_COLORS value. And bash
should report the same errors.
from clink.
Unfortunately I forgot what version it was it. I think it was 1.5.18. I reinstall 1.5.18 and it's ok.
I think the LS_COLORS was set by ls for gnu using dircolors.exe
The first two maybe RECENT and COMPRESS, the last "xs" I don't know.
The following is from their html file.
Highlight recently modified files - underscore
RECENT ;04 # leading semicolon required
Highlight compressed files - bright cyan
COMPRESSED ;01;36 # leading semicolon required
from clink.
@anotatta I figured out what changed:
The default_inputrc
file was broken until v1.6.1, and so colored-stats
wasn't enabled, so LS_COLORS wasn't parsed.
But with colored-stats
set to on
then bash
and Readline and Clink all give that error.
You have some options:
- You can run
clink set readline.hide_stderr true
to suppress all Readline stderr output. - You can set CLINK_MATCH_COLORS with colors for Clink to use instead of LS_COLORS (when CLINK_MATCH_COLORS is set, then Clink ignores LS_COLORS, so you don't have to change LS_COLORS).
- You can change LS_COLORS.
- You can add
set colored-stats off
into your.inputrc
file.
from clink.
I tried option 2 and 3, they both works. So, I'll keep the old LS_COLORS and use option 2 set with the three problematic entries remove. Thanks.
from clink.
Related Issues (20)
- clink_start.cmd is run twice when clink is installed in %localappdata%\clink HOT 4
- Clink incorrectly shows certain commands as quoted HOT 2
- Error in update.lua Script: Attempt to Index Local 'line' (a Number Value) at Line 106 HOT 2
- the default ocmmand line experience allows wildcard based autocompletion on hitting tab key but after installing clink it doesn't HOT 5
- How can I make argmatchers for the arguments to specific perl scripts? HOT 8
- Incremental tab completion on auto-suggestion HOT 3
- Color brightness in CMD prompt, different between Win11 and Server 2016 HOT 3
- Trouble emulating Ctrl-D as EOF HOT 6
- Not recieving 'a' key is down HOT 3
- How to override autorun for clink? HOT 14
- Wrong cursor position when CD contains non-printable characters HOT 23
- from lua, send command to prompt and run it HOT 4
- color.env_variables option HOT 9
- doskey macros not working in pipes HOT 10
- is there any way to use fzf as history list (ctrl + r)? HOT 1
- Set different history file location HOT 2
- Will PowerShell be supported in the future? HOT 1
- broot integration HOT 7
- How to disable inserting ^C when Ctrl-C is pressed? HOT 2
- Can you use this with git bash and oh-my-posh? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clink.