Show More
@@ -69,6 +69,20 b' def default_aliases():' | |||||
69 | # things which are executable |
|
69 | # things which are executable | |
70 | ('lx', 'ls -F -o --color %l | grep ^-..x'), |
|
70 | ('lx', 'ls -F -o --color %l | grep ^-..x'), | |
71 | ] |
|
71 | ] | |
|
72 | elif sys.platform.startswith('openbsd'): | |||
|
73 | # OpenBSD | |||
|
74 | ls_aliases = [('ls', 'ls -F'), | |||
|
75 | # long ls | |||
|
76 | ('ll', 'ls -F -l'), | |||
|
77 | # ls normal files only | |||
|
78 | ('lf', 'ls -F -l %l | grep ^-'), | |||
|
79 | # ls symbolic links | |||
|
80 | ('lk', 'ls -F -l %l | grep ^l'), | |||
|
81 | # directories or links to directories, | |||
|
82 | ('ldir', 'ls -F -l %l | grep /$'), | |||
|
83 | # things which are executable | |||
|
84 | ('lx', 'ls -F -l %l | grep ^-..x'), | |||
|
85 | ] | |||
72 | else: |
|
86 | else: | |
73 | # BSD, OSX, etc. |
|
87 | # BSD, OSX, etc. | |
74 | ls_aliases = [('ls', 'ls -F -G'), |
|
88 | ls_aliases = [('ls', 'ls -F -G'), |
General Comments 0
You need to be logged in to leave comments.
Login now