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
Peltoche
228a5bb11a
Handle the symlinks with relatif paths
2018-12-04 10:57:54 +01:00
Peltoche
fbf8dacbc6
Handle broken symlinks
2018-12-03 13:27:06 +01:00
Peltoche
e425bd9d3a
Use ANSIString for rendering
2018-12-02 18:13:46 +01:00
Peltoche
0bd3ce5b31
Create the Name struct
2018-12-01 18:59:53 +01:00
Peltoche
f542fef68d
Create the Date struct
2018-12-01 17:56:07 +01:00
Peltoche
a7aff583f3
Create the Owner struct
2018-12-01 17:15:55 +01:00
Peltoche
8a0f253f16
Handle all the file types (block/char/pipe/etc)
2018-12-01 16:51:39 +01:00
Peltoche
033181ca9b
Add the file_type into the Permission struct
2018-12-01 14:16:23 +01:00
Peltoche
21cc041775
Add the setuid/setgid/sticky bit support
2018-12-01 13:21:39 +01:00
Peltoche
25c615002e
Add the Size.render method
2018-12-01 12:34:16 +01:00
Peltoche
8585369bf1
Run clippy
2018-12-01 12:11:01 +01:00
Peltoche
ba980f0da1
Move the permission login into the permissions package
2018-12-01 12:10:12 +01:00
Peltoche
af5809c4e7
Implement the From<Metadata> trait for Size
2018-12-01 11:27:46 +01:00
Peltoche
f1fec9352d
Fix the file size values
2018-11-30 14:53:54 +01:00
Peltoche
916fde2523
Rename LongMeta to Meta
2018-11-24 15:53:46 +01:00
Peltoche
b0adc11215
Separate the meta into a new package
2018-11-24 15:43:04 +01:00