Issue
I am using the IPython qtconsole and the directories are dark blue and I can't seem to find any way to change this in the theme. I'm using pygments with the monokai theme for the syntax highlighting.
Solution
This coloring is actually done by ls
itself.
You can use the LSCOLORS ( on OS X / BSD, or LS_COLORS on Linux) environment variable to customize this.
Here is a nifty utility for generating an LSCOLORS value.
You can probably Google-about for peoples favored dark-background LSCOLORS values.
Then just set the variable, either in Python:
import os
os.environ['LSCOLORS'] = 'gxfxcxdxbxegedabagacad'
or in your shell session prior to launching IPython (or .bashrc, etc.):
$> export LSCOLORS=gxfxcxdxbxegedabagacad
$> ipython qtconsole
see also: reference docs for LS_COLORS
Answered By - minrk
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.