diff --git a/IPython/Extensions/ipy_profile_sh.py b/IPython/Extensions/ipy_profile_sh.py index 5aa12e6..f360bbd 100644 --- a/IPython/Extensions/ipy_profile_sh.py +++ b/IPython/Extensions/ipy_profile_sh.py @@ -94,6 +94,9 @@ def main(): noext, ext = os.path.splitext(cmd) ip.IP.alias_table[mapper(noext)] = (0,cmd) + if 'ls' in syscmds: + # use the colors of cygwin ls (recommended) + ip.magic('alias d ls -F --color=auto') # mglob combines 'find', recursion, exclusion... '%mglob?' to learn more ip.load("IPython.external.mglob")