In the bash shell, using for example grep <pattern> <file>
would result in every line containing the pattern to be returned and the pattern to be highlighted in red bold font in each of these lines. However, when I use !grep
from the IPython shell, the pattern is not highlighted in the returned lines.
Similarly, from within the IPython shell, !ls
does not produce colored or bold output, while ls
does. Is there any way to enable highlighting in the output from magic commands in the IPython shell?
I am Ubuntu 15.04, using IPython 3.2.0.