c9fa958a0c
from maintainer Will Maier
22 lines
1.1 KiB
Plaintext
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']:
|