Commit graph

66 commits

Author SHA1 Message Date
Abin Simon
deea0df83d do not pass tense explicitly 2019-03-06 15:12:29 +01:00
Abin Simon
67bf8d742e Update tests to work with LSCOLORS update
Added another enum value to Theme `NoLscolors`.
As of right now it only helps with tests, but maybe useful for something
in future.

Colouring based on LSCOLORS should be tested in the package so we should
be good.
2019-02-17 12:17:29 +01:00
Abin Simon
aba3e96a28 color files with lscolors 2019-02-17 12:17:29 +01:00
Peltoche
e4882c5c99 Fix the module import paths 2019-02-16 11:34:33 +01:00
Peltoche
a17eb10656 Fix the permissions 2019-01-23 10:57:09 +01:00
Peltoche
c4a99ed8f4
big refacto 2019-01-22 17:51:40 +01:00
Peltoche
581ff0920b Handle the errors into the core 2019-01-22 17:48:07 +01:00
Sebastian Zivota
70af39ed0a Added data to File and Dir variants of Elem, FileType enums
This obviates the need for separate variants for such things as
executableness and setuid.
2019-01-20 11:45:24 +01:00
Sebastian Zivota
0d215dca50 Added SetuidDir and SetuidFile variants to Elem and FileType
This allows us to display files and directories that have the uid
flag set with a red background.
2019-01-20 11:45:24 +01:00
Sebastian Zivota
390f5e4280 Renamed theme flag to icon-theme and default option to fancy 2019-01-19 11:57:27 +01:00
Peltoche
92d018255a Add the directory-order flag 2019-01-12 16:42:05 +01:00
Max Taldykin
c74b5d619e Add a depth parameter for the -R and --tree options 2018-12-27 14:44:17 +01:00
Peltoche
ac82815c19 Do not panic if the group name is not available 2018-12-27 13:08:58 +01:00
Peltoche
f162a677dd Fix the name ordering 2018-12-17 11:43:28 +01:00
boxdot
9a83bda871 Review improvements + unittest of sorting. 2018-12-16 14:26:11 +01:00
boxdot
8e331ff566 Fix test. 2018-12-16 14:26:11 +01:00
boxdot
3514d79642 Add options to sort by time and to reverse sorting order. 2018-12-16 14:26:11 +01:00
Peltoche
be41956919 Fix the lint errors 2018-12-14 16:20:22 +01:00
Peltoche
8bc3686f66 Implement the Default trait to Flags 2018-12-14 14:32:18 +01:00
Peltoche
9173f8d36f Add tests for the Indicator struct 2018-12-14 14:32:18 +01:00
Peltoche
22b4f0f816 Add a test on relative date flag 2018-12-14 14:32:18 +01:00
Peltoche
f0a4fa125c Add the --icon flag 2018-12-13 16:08:01 +01:00
Abin Simon
f31afa8ab7 Add option to show relative date 2018-12-13 12:27:54 +01:00
Peltoche
abf66f6d6f Fix some icons tests 2018-12-12 16:21:54 +01:00
Peltoche
1ef1904bd3 Add a custom color for all the special fils (char / pipe / block) 2018-12-12 11:46:50 +01:00
Peltoche
78f13841e8 Run cargo fmt 2018-12-12 11:46:50 +01:00
Unknown
917498022e Fixes 2018-12-12 10:27:19 +01:00
Unknown
29ee29eccc Fixed tests 2018-12-12 10:27:19 +01:00
Your Name
52ac556c08 Merge conflicts 2018-12-12 10:27:19 +01:00
Your Name
feb581c2d7 Move icon rendering logic to name 2018-12-12 10:27:19 +01:00
Your Name
5c3c6a55fc Also color icon 2018-12-12 10:27:19 +01:00
Your Name
447b0e93c3 Code Review 2018-12-12 10:27:19 +01:00
Your Name
dc720e5403 Color executable files green 2018-12-12 10:27:19 +01:00
Peltoche
9ffffe854e Fix name order case sensitivity 2018-12-10 22:34:50 +01:00
Peltoche
98f59b3e2e Add tests for the date, name and filetype modules 2018-12-10 20:35:46 +01:00
Peltoche
b56df8ec56 Implement the -F flag 2018-12-10 19:03:48 +01:00
Abin Simon
7eb3ad7af6 add None in Unit enum to handle non file items 2018-12-10 10:45:37 +01:00
Abin Simon
cbcf0a332a use option for size values instead of size 2018-12-10 10:45:37 +01:00
Abin Simon
355091b301 show - for size when if it is not a file 2018-12-10 10:45:37 +01:00
Peltoche
deb03c5c53 Lint everything 2018-12-08 23:22:08 +01:00
Peltoche
d72b3544a9 Make the symlinks more visible 2018-12-08 23:22:08 +01:00
Peltoche
a006824f37 Refactore the icon package 2018-12-08 22:38:08 +01:00
Peltoche
66a5ae6366 Remove some Symlink logic from the Batch struct 2018-12-08 13:21:14 +01:00
Peltoche
98bc907101 Add a complete CD
This commit include the features:
- The version is available with `lsd --version`
- Create the completions scripts for bash/fish/zsh/powershell
- Return an error during the build if the rust requirements are not ok.
- Add the binaries into the releases assets
- Fix Size for the i686 architectures
2018-12-06 19:13:39 +01:00
Peltoche
268f7bf79f Escape invalid unicode encoded names 2018-12-05 21:19:02 +01:00
Peltoche
526f020695 Do not colorize when the stdout is not a tty 2018-12-05 20:25:48 +01:00
Peltoche
55c61722f3 Fix the tests 2018-12-05 11:37:34 +01:00
Peltoche
aa7a54f703 Fix the broken symlinks fetching 2018-12-04 21:10:42 +01:00
Peltoche
8989ca44fe
Add the --recursive option 2018-12-04 13:29:54 +01:00
Peltoche
823b04a258
Handle correctly the special files metadata fetching 2018-12-04 11:15:05 +01:00