Ben S
19e0f9b70d
Add inode number column
2014-06-22 07:44:00 +01:00
Ben S
fc8f8d6c6a
Add number of hard links column
...
This is behaviour cribbed from ls. Even though I've never personally used it, I'm sure someone has a use for it.
2014-06-22 07:40:40 +01:00
Ben S
2bb563d448
Upgrade to latest Rust nightly
...
- s/syntax/phase
- no more boxed array syntax
- getopts fail implements Show
- option#expect now requires &str
2014-06-18 13:39:55 +01:00
Ben S
a631bc099f
Sort case-insensitively
2014-06-01 13:07:45 +01:00
Ben S
4722c8991b
Implement natural sorting on filenames
2014-06-01 11:54:31 +01:00
Ben S
6edf2c0d4d
Highlight the current user
2014-05-27 19:05:15 +01:00
Ben S
48d8a46df8
Code cleanup (commenting the why)
2014-05-27 12:37:51 +01:00
Ben S
7091a42ab8
Hide the group by default
2014-05-26 18:08:58 +01:00
Ben S
0dd74a022f
Add --binary flag
...
This finally means that the list of columns is no longer fixed, which means it has to be generated somewhere. And guess where it got moved to? That's right, the options object! (see previous commits)
2014-05-26 15:44:16 +01:00
Ben S
573765b62b
Move filtering to options object, too
...
I'd like to have as few public methods on it as possible.
2014-05-26 12:46:51 +01:00
Ben S
1dbe20c8c5
Move sorting and reversing into options object
2014-05-26 11:50:46 +01:00
Ben S
05b2d541ac
s/StrBuf/String/g
2014-05-26 11:08:33 +01:00
Ben S
566ed0bba8
Move columns to options object
2014-05-25 19:42:31 +01:00
Ben S
cb6dd57ca0
Move getopts code into options module
2014-05-25 18:14:00 +01:00
Ben S
d60c2ce839
Add reverse parameter
2014-05-24 21:45:24 +01:00
Ben S
7063c21ba0
Actually, cache the calls to ext
...
They get computed often enough for this to be worthwhile, and I have plans for using the extension even if it's not what's being sorted by.
2014-05-24 02:36:00 +01:00
Ben S
184de0ce79
Allow sorting by file extension
2014-05-24 02:32:57 +01:00
Ben S
cb1b8bc2d7
Add sort option
...
And move options struct into its own module
2014-05-24 02:17:43 +01:00