openbsd-ports/devel/ipython/patches/patch-IPython_iplib_py
steven c9fa958a0c update to ipython 0.7.2
from maintainer Will Maier
2006-06-08 14:38:01 +00:00

22 lines
1.1 KiB
Plaintext

$OpenBSD: patch-IPython_iplib_py,v 1.2 2006/06/08 14:38:01 steven Exp $
--- IPython/iplib.py.orig Mon Jun 5 12:03:22 2006
+++ IPython/iplib.py Thu Jun 8 07:16:12 2006
@@ -566,13 +566,13 @@ class InteractiveShell(object,Magic):
# --color switch out of the box
if 'bsd' in sys.platform:
ls_extra = ( # ls normal files only
- 'lf ls -F -o %l | grep ^-',
+ 'lf ls -lF -o %l | grep ^-',
# ls symbolic links
- 'lk ls -F -o %l | grep ^l',
+ 'lk ls -lF -o %l | grep ^l',
# directories or links to directories,
- 'ldir ls -F -o %l | grep /$',
+ 'ldir ls -lF -o %l | grep /$',
# things which are executable
- 'lx ls -F -o %l | grep ^-..x',
+ 'lx ls -lF -o %l | grep *$',
)
auto_alias = auto_alias + ls_extra
elif os.name in ['nt','dos']: