Disable coloring doesn't work?
See original GitHub issueHello, i tried disabling coloring wiith config file:
$ cat ~/.pdir2config
[global]
uniform-color = bright white
but pdir still prints color characters in xonsh eg, when I run pdir(__xonsh__.history)
lines look like:
?[1;37mfunction:?[0m
?[1;37mall_items?[0m?[1;37m: ?[0m?[1;37mReturns all history as found in XONSH_DATA_DIR.?[0m
?[1;37mappend?[0m?[1;37m: ?[0m?[1;37mAppends command to history.?[0m
?[1;37mclear?[0m?[1;37m: ?[0m?[1;37mClears the current session's history from both memory and disk.?[0m
?[1;37mflush?[0m?[1;37m: ?[0m?[1;37mFlushes the current command buffer to disk.?[0m
?[1;37minfo?[0m?[1;37m: ?[0m?[1;37mA collection of information about the shell history.?[0m
?[1;37mitems?[0m?[1;37m: ?[0m?[1;37mDisplay history items of current session.?[0m
?[1;37mrun_gc?[0m?[1;37m: ?[0m?[1;37mRun the garbage collector.?[0m
How to get rid of these characters? Either disable coloring or make them work for xonsh.
- pdir2 v0.3.5
- xonsh v0.11.0 and latest v0.12.2
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to disable syntax coloring in Visual Studio Code
I would like to disable syntax coloring altogether.
Read more >Disable color highlighting - Emacs Stack Exchange
If all of the coloring is from font-lock-mode you can just turn off that mode. You can also get the effect of removing...
Read more >Turn off color in Linux terminal/bash session - nixCraft
This page explains how to disable color in shell/terminal for ls, grep, vim, ... To see current value run the following echo command:...
Read more >Can you disable coloring in the code block macro?
I don't think it's possible to completely disable the colors. If you want something that looks like the code block macro, but you...
Read more >How to turn off all colors - Vim Tips Wiki - Fandom
If you're like me, you don't want a colorful editor. I spent hours looking for a "turn off all those colors right now!!"...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In 0.3.6 you can disable color, see https://github.com/laike9m/pdir2/wiki/User-Configuration#disable-color
Let me know if you encounter any issues.
I’ll cut a new release this weekend