Commit graph

18 commits

Author SHA1 Message Date
Dom Slee
bc6c930831 Update doc 2024-02-16 11:47:12 +08:00
zica
222f573cd3
📝 document --date=locale (#985)
This flag is added by #840
2024-02-12 17:54:33 +08:00
Panagiotis Ganelis
bfbb217257
Add support for --literal flag and literal entry in config (#900)
Add support for `--literal` in order to opt out showing filenames with
quotes
Closes: #894
2023-09-19 09:57:10 +08:00
Bertrand Bonnefoy-Claudet
93b3fb0b66 Add configuration and CLI options: truncate owner
This adds the following CLI flags:

- `--truncate-owner-after`
- `--truncate-owner-marker`

And the following configuration fields:

```yaml
truncate-owner:
  after:
  marker: ""
```

The default behavior of LSD is unchanged.

The problem this change attempts to solve is the usability of the `-l`
flag on systems where some user or group names are long but cannot be
changed (e.g. the user is not admin and the account is managed in a
central directory). In such cases, even with a decently sized terminal
(90+ characters wide), lines often overflow, making the directory
listing hard to read.

Without this change, the only mitigation would consist in turning off
the display of file ownership (via the `blocks` configuration field)
which is unsatisfactory because ownership information is very useful.
2023-09-17 16:27:38 +08:00
jhalloy
711f661d1e
Updated documentation to include SHELL_COMPLETIONS_DIR (#861)
Modified doc/lsd.md to include documentation on SHELL_COMPLETIONS_DIR /
OUT_DIR. This is from issue #853.
2023-06-30 00:49:51 +08:00
Pascal H
2fe3fcdd35
Git integration (#822) 2023-05-01 00:26:15 +08:00
Kian-Meng Ang
d05b2acd20 Fix typos and markdowns
Found via these commands:

    codespell -L crate,complies
    markdownlint README.md docs/lsd.md --disable MD034 MD013 MD033 MD025
2022-08-12 01:29:06 +08:00
MichaelAug
a58e2fd31f Update CHANGELOG, README and man page 2022-05-26 11:44:29 +08:00
Abin Simon
5f6aa76458 Update documentation for hyperlink 2022-04-14 00:38:32 +08:00
Martin Matous
f5debb878e fix feedback
Signed-off-by: Martin Matous <m@matous.dev>
2022-03-31 09:41:57 +05:30
Martin Matous
35207e246a display security label/context
fixes #367

Signed-off-by: Martin Matous <m@matous.dev>
2022-03-31 09:41:57 +05:30
Abin Simon
8dd54fee5e Add --permission octal to show permissions in octal 2022-03-21 09:34:35 +05:30
Michael
55ee0f0d7c Rename unsorted flag to no-sort 2022-02-21 21:43:15 +05:30
Michael
1e578bae4d Update man page with -U option 2022-02-21 21:43:15 +05:30
Abin Simon
4120f68d09 Fix few typos 2022-01-26 19:54:29 +05:30
networkException
e9ff6ca3e6 Add --group-directories-first as an alias for --group-dirs=first
`ls` from coreutils has the `--group-directories-first` flag as the only
directory grouping option. This patch improves compatibility so that
users switching to `lsd` can continue using `--group-directories-first`.
2022-01-26 19:54:29 +05:30
Fabricio Dematte
eb466e7bcc add man page entry 2021-06-11 09:57:41 +05:30
ed neville
db87726598 Adding lsd man page in markdown format
* lsd.md to produce man page when used with pandoc.
2021-01-31 09:41:04 +05:30