Commit graph

281 commits

Author SHA1 Message Date
Claudio Bley
9914606311
Merge pull request #622 from ayushpoddar/fix/rounding-large-files
Fix: rounding large files
2024-09-05 23:12:02 +02:00
Claudio Bley
4c1824c3cf Simplify implementation 2024-09-05 22:47:17 +02:00
t-mangoe
f088da5cbb apply JavaScript icon to .mjs file 2024-08-31 13:02:07 +09:00
Ayush Poddar
b6342c3ef4 round the pretty file size 2024-08-01 02:14:30 +05:30
Claudio Bley
597a8c6807
Merge pull request #595 from ayushpoddar/color-hidden-files
Colorise hidden files and directories
2024-07-12 14:19:26 +02:00
Jonathan
f1770bd1f8
Update file_aliases.yaml 2023-10-23 09:59:19 +02:00
Jonathan
12e5da67ab
Update file_aliases.yaml
Add a couple of file extensions.
2023-10-23 09:42:01 +02:00
Jonathan
cc6ef404c0
Update files.yaml 2023-10-21 14:14:58 +02:00
Ayush Poddar
305e2486f4 refactor: split into two methods 2023-06-07 18:00:34 +05:30
Ayush Poddar
fe59bb7c5f add logic to show different color for hidden files/directories 2023-06-07 17:23:08 +05:30
Ayush Poddar
4f1333ff66 add colors for hidden files/directories 2023-06-07 17:22:40 +05:30
Ayush Poddar
1e1f10c763 modify indentations 2023-06-07 17:22:27 +05:30
Ayush Poddar
44c370b4c6 Revert "version bump"
This reverts commit 414820b23b.
2023-05-12 19:43:53 +05:30
Ayush Poddar
414820b23b version bump 2023-04-30 02:48:37 +05:30
Ayush Poddar
688188de6f show relative filepath when argument is file 2023-04-29 20:15:50 +05:30
Ayush Poddar
93fa6872c9 remove --nh flag 2023-04-26 18:28:03 +05:30
Ayush Poddar
d4fdd94d97 justify size unit only when displaying human readable sizes 2023-04-26 18:22:34 +05:30
Ayush Poddar
d11bd9241f update the version as per semantic versioning specification 2023-04-19 17:32:45 +05:30
Ayush Poddar
214cb436e2 silence rubocop 2023-04-19 16:52:52 +05:30
Ayush Poddar
0421206076 rubocop fix 2023-04-18 21:32:27 +05:30
Ayush Poddar
6f5abb25a0 increase the number of characters allotted to displaying size 2023-04-18 21:24:09 +05:30
Ayush Poddar
e231708f30 add support for --non-human-readable flag 2023-04-18 19:50:08 +05:30
Claudio Bley
5347ea77cf Auto-correct offenses 2023-04-13 22:49:54 +02:00
t-mangoe
cbad7578a9 change the option name from '-H' to '-L' 2023-02-11 13:39:46 +09:00
t-mangoe
0e2bed11ad Merge branch 'master' into issue_515 2023-02-11 09:47:22 +09:00
Claudio Bley
33d4ac066a Auto-correct rubocop offenses 2023-01-25 21:08:12 +01:00
t-mangoe
77cf0b0770 add '-H' option 2023-01-07 10:36:26 +09:00
Athitya Kumar
5e70184372 lint(483): makes linter happy 2022-10-27 14:25:16 +05:30
Athitya Kumar
f4649081e9 lint(483): makes linter happy 2022-10-27 14:23:16 +05:30
karandeepmadaan
2c524743a5
Added flag --without-icons 2022-10-25 14:48:45 -07:00
karandeepmadaan
97ae8e08a3
Adding changes for core.rb for no icons 2022-10-25 14:47:44 -07:00
Claudio Bley
6250536d23
Merge pull request #532 from AlexwannaCode/main
Add logo
2022-06-30 09:45:02 +02:00
Claudio Bley
8470631723 Auto-correct rubocop offenses 2022-06-30 08:48:29 +02:00
AlexwannaCode
5efea0a571
Update file_aliases.yaml
Add tgz as zip alias
2022-06-04 16:25:09 +08:00
AlexwannaCode
0b473bd200
Update files.yaml
Add icon for Vue and React
2022-06-04 16:22:40 +08:00
Claudio Bley
3ffea2976a Correct Style/OpenStructUse offenses
Replace with `Struct`, or use `instance_double` in tests.
2022-05-13 21:47:03 +02:00
Claudio Bley
60cf569776 Pass a null device instead of explicitly closing stderr
When calling git any error messages should be suppressed (e.g. if an directory
is not inside a git repository).

Closing the stderr output when calling `IO.popen` works fine on POSIX systems,
but on Windows it does not and spits out a warning for every invocation:

```
git.rb:44: warning: cannot close fd before spawn
```

Fixes #517.
2022-04-30 09:13:56 +02:00
Claudio Bley
90ed878213 Release version 1.4.6 2022-04-13 21:46:18 +02:00
Claudio Bley
0c6928dce2 Refactor hyperlink handling in fetch_string 2022-04-13 21:24:30 +02:00
Claudio Bley
b8589c30fe Use FileInfo#show for the hyperlink text
Fixes #513
2022-04-13 21:08:47 +02:00
Claudio Bley
2d2d43de27 Prepare release 1.4.5 2022-04-04 22:16:03 +02:00
t-mangoe
462fa61bc5 fix rubocop error 2022-03-26 16:32:54 +09:00
t-mangoe
67459d0ef9 Merge branch 'master' into no-hardlinks 2022-03-26 16:25:05 +09:00
goar5670
cd394c0feb Fix different inode number lengths 2022-03-20 21:24:07 +03:00
goar5670
eb2656a219 Fix rubocop offenses 2022-03-20 02:18:02 +03:00
goar5670
57feb07032 Add colors for inode text 2022-03-20 01:55:50 +03:00
goar5670
fb102b1700 Account for git status and inode in item widths 2022-03-20 01:55:33 +03:00
goar5670
793cd20cc8 Add basic --inode flag 2022-03-20 01:54:58 +03:00
Claudio Bley
a3b94311ec Allow git status to be different for items in directories
If a directory was reported with a concrete status by git, it was
assumed that all files below this directory would have the same status.

This is not the case were git ignore files are applied to some files
in subdirectories.

Fixes #461.
2022-03-19 09:20:03 +01:00
bl7awy
29f2162a77 Edit --report flag description 2022-03-18 22:59:27 +03:00