Age | Commit message (Collapse) | Author |
|
Signed-off-by: Wei Zhang <kweizh@gmail.com>
|
|
|
|
|
|
|
|
Add support for `--literal` in order to opt out showing filenames with
quotes
Closes: #894
|
|
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.
|
|
|
|
Signed-off-by: Wei Zhang <kweizh@gmail.com>
|
|
Signed-off-by: Wei Zhang <kweizh@gmail.com>
Signed-off-by: zwPapEr <zw.paper@gmail.com>
|
|
|
|
|
|
deprecated. (#851)
|
|
Co-authored-by: Wei Zhang <kweizh@gmail.com>
|
|
<!--- PR Description --->
Fixed incorrect colorizing with `--size=bytes` described in issue #841
---
#### TODO
- [x] Use `cargo fmt`
- [x] Add changelog entry
---------
Co-authored-by: Bells307 <sdikansky96@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
find locale set with [sys-locale](https://crates.io/crates/sys-locale),
then format with locales.
|
|
The PR will fix #786 .
In order to minimize future security risks and maintain ease of use, it
is recommended to avoid using deprecated features of clap.
I have refactored the code so that no warning appears when the following
command is executed:
```sh
cargo check --features clap/deprecated
```
|
|
|
|
|
|
- PKGBUILD -- Arch Linux package manifests
Didn't implement these because I couldn't find a good icon
or is just downright impossible to implement
- config.\* -- Configuration files
- Makefile\* -- Make config
- .\*_history -- History files for readline-like
- .gdb_history -- GDB debugger history
- .lesshst -- `less` history
- Kconfig.\* -- Specific kernel config file
- Kbuild.\* -- Specific kernel build file
- Makefile\* -- Make config
- TODO\* -- TODOs
- FAQ\* -- FAQ
- LEGACY\* -- Legacy statement
- var/ -- Variable files
- mnt/ -- Mounts
- proc/ -- Processes
- usr/ -- Universal system repository
- dev/ -- Device files
- boot/ -- Bootloader files
- opt/ -- Optional applications
- sys/ -- System files
- src/ -- source code
- tests/ -- Tests for code
- test/ -- Test dir
- Media/ -- Media dir
- rc.conf -- OpenRC config
- init.d/ -- OpenRC services
- content/ -- Content dir
- page/ -- Pages
- resources/ -- Resources for programs
- static/ -- Static resources
- completions/ -- Shell completions
- target/ -- Target files
- dist/ -- Destination files
- dest/ -- Destination files
- .local/ -- Local files
- local/ -- Local files
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
|
|
|
|
|
|
|
|
Signed-off-by: Wei Zhang <kweizh@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
correctes the `CHANGELOG.md`
correctes the CHANGELOG.md
|
|
|
|
Found via these commands:
codespell -L crate,complies
markdownlint README.md docs/lsd.md --disable MD034 MD013 MD033 MD025
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Martin Matous <m@matous.dev>
|