- 01 4月, 2017 1 次提交
-
-
由 Laurent Arnoud 提交于
-
- 27 3月, 2017 2 次提交
-
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
-
- 31 10月, 2016 1 次提交
-
-
由 Ben S 提交于
-
- 30 10月, 2016 12 次提交
-
-
由 Ben S 提交于
This adds an option (always on at the moment) to use a colour scale of green to yellow to orange for the file size field instead of always green. See #65.
-
由 Ben S 提交于
This makes the Colours value pick a colour based on the size of the file, instead of necessarily having them all green. (They are all green for now, though.)
-
由 Ben S 提交于
-
由 Ben S 提交于
See #97 and recently #130 too. This allows the user to pass in options such as "--ignore '*.pyc'" to not list any files ending in '.pyc' in the output. It uses the Rust glob crate and currently does a simple split on pipe, without any escaping, so it’s not really *complete*, but is at least something.
-
由 Ben S 提交于
This has to be done for when ignore patterns get introduced and have to be stored in a Vec.
-
由 Ben S 提交于
-
由 Ben S 提交于
Fixes #123. The code assumes that every File that has its link_target() method called would first have been checked to make sure it’s actually a link first. Unfortunately it also assumed that the only thing that can go wrong while following a link is if the file wasn’t a link, meaning it crashes when given a link it doesn’t have permission to follow. This makes the file_target() method able to return either a file or path for displaying, as before, but also an IO error for when things go wrong.
-
由 Ben S 提交于
-
由 Ben S 提交于
-
由 Ben S 提交于
Fixes #129
-
由 Ben S 提交于
-
由 Ben S 提交于
This changes the way that views are used to display the actual lists of files. It used to pass empty vectors to the view methods, which most of the time would not print anything because there are no files to list — except when there’s a header row which gets printed for no files. By not calling the view method at all when there’s nothing to print, exa won’t ever print extra things in the view unless it needs to for a file. This fixes #106 “Don’t print the header if the result set is empty”
-
- 08 10月, 2016 1 次提交
-
-
由 Benjamin Sago 提交于
See the README section for more details. Basically, with this way, we can store a bunch of existing valid exa outputs, change a VM's environment to match our values, then check that exa still works by comparing outputs.
-
- 06 10月, 2016 1 次提交
-
-
由 Benjamin Sago 提交于
-
- 05 10月, 2016 3 次提交
-
-
由 Benjamin Sago 提交于
Add legal values to error messages
-
由 Benjamin Sago 提交于
Change to put error messages into stderr
-
由 Benjamin Sago 提交于
Change to ignore broken pipe error
-
- 29 8月, 2016 1 次提交
-
-
由 Brandon W Maister 提交于
Now when you do `--sort time` instead of saying "unknown option --sort time" it will say "unknown options '--sort time' (choices: name...)" with all legal options. This also adds the legal values to the default help text.
-
- 31 7月, 2016 1 次提交
-
-
由 Gemmarx 提交于
-
- 30 7月, 2016 1 次提交
-
-
由 Gemmarx 提交于
-
- 02 7月, 2016 1 次提交
-
-
由 Benjamin Sago 提交于
Exa now recognizes pipes, devices, and sockets on unix systems
-
- 14 6月, 2016 1 次提交
-
-
由 Linden Krouse 提交于
-
- 11 6月, 2016 5 次提交
- 24 5月, 2016 2 次提交
-
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
Fix building without default features
-
- 03 5月, 2016 1 次提交
-
-
由 Hendrik Sollich 提交于
-
- 27 4月, 2016 1 次提交
-
-
由 Benjamin Sago 提交于
The tests, as I so clearly wrote a comment to indicate, can only be run after the script to generate the testcases has been run...
-
- 19 4月, 2016 2 次提交
-
-
由 Benjamin Sago 提交于
This commit removes the 'main' function present in main.rs, renames it to exa.rs, and puts the 'main' function in its own binary. This, I think, makes it more clear how the program works and where the main entry point is. Librarification also means that we can start testing as a whole. Two tests have been added that test everything, passing in raw command-line arguments then comparing against the binary coloured text that gets produced. Casualties include having to specifically mark some code blocks in documentation as 'tests', as rustdoc kept on trying to execute my ANSI art.
-
由 Benjamin Sago 提交于
This will mean that we can test exa's output as a whole, without having to rely on process or IO or anything like that.
-
- 18 4月, 2016 3 次提交
-
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
The original options was becoming a bit unwieldy, and would have been even more so if I added the same amount of comments. So this commit splits it up. There's no extra hiding going on here, or rearranging things within the module: (almost) everything now has to be marked 'pub' to let other sub-modules in the new options module to see it.
-