Commit graph

118 commits

Author SHA1 Message Date
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
Y.D.X
2fd1877417 Fix a broken parenthesis in CHANGELOG 2023-08-30 10:38:50 +08:00
Wei Zhang
9b8ed0ef73 🎉 📝 update docs, release v1.0.0
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2023-08-26 00:44:13 +08:00
Wei Zhang
60f33e527d ci: add aarch64 darwin build target and skip on test
Signed-off-by: Wei Zhang <kweizh@gmail.com>
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2023-08-26 00:43:55 +08:00
juansc
4514713e9b
fix version sort for matching GNU ls (#843) 2023-07-06 14:02:57 +08:00
K4YT3X
71156b8530
Added complete color theming support for Git (#852) 2023-07-04 11:29:51 +08:00
Pepijn Bakker
0e3f97b817
Added new custom option for color config, marked themes folder as deprecated. (#851) 2023-06-23 20:19:25 +08:00
Aaron Lichtman
d97e7c42fd
Make .profile have the same icon as profile (#850)
Co-authored-by: Wei Zhang <kweizh@gmail.com>
2023-06-22 14:52:42 +08:00
bells307
8ea79c6817
Fixed file size colorizing with --size=bytes argument (#856)
<!--- 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>
2023-06-22 02:20:05 +08:00
Aaron Lichtman
add930db6b Make tox.ini files use the gear/settings icon 2023-06-22 00:51:15 +08:00
Pascal H
2fe3fcdd35
Git integration (#822) 2023-05-01 00:26:15 +08:00
Mikihiro SUDA
ff3e48e20b
Icon theme with overrides from config (#792) 2023-04-22 22:14:49 +08:00
Han Yeong-woo
5ecb868c19
Fix obsolete Nerd Font icons (#830) 2023-04-22 16:11:30 +08:00
Han Yeong-woo
118faab533 Add icons for cjs, cts and mts 2023-04-03 15:33:22 +08:00
scarf
7b9290c92c
Localization support (#820)
find locale set with [sys-locale](https://crates.io/crates/sys-locale),
then format with locales.
2023-03-13 10:44:54 +08:00
Mikihiro SUDA
da61909835
Avoid using clap deprecated features (#787)
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
```
2023-01-12 13:35:51 +08:00
r3dArch
f22ad5b2ef
Fix Bug: Handle -L with broken symlink #457 (#754) 2022-11-27 09:56:21 +05:30
Icxolu
d9b4b05d27 update changelog 2022-11-26 09:41:24 +05:30
Ari Archer
cc195ffc2a Implement most icons from https://github.com/Peltoche/lsd/issues/764
- 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>
2022-11-23 10:35:22 +05:30
Icxolu
c3596c35ad update changelog 2022-11-13 22:10:58 +05:30
LeeWeeder
f014138a0c Undo deletion of some lines 2022-11-07 09:24:12 +05:30
LeeWeeder
dd5f83d59f Added entry for adding icon for kt and kts files 2022-11-07 09:24:12 +05:30
Wei Zhang
c41ba382e7 🎉 add icon theme in changelog
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2022-10-10 11:16:56 +05:30
Narawit Rakket
82acde7ef2 chore: update CHANGELOG.md 2022-10-06 09:06:41 +05:30
merelymyself
81c7c77123 changelog 2022-09-22 09:40:38 +05:30
Abin Simon
292154358f Fix few changelog issues 2022-09-13 08:59:25 +05:30
Abin Simon
84fedc6f44
Release 0.23.1 2022-09-13 08:55:33 +05:30
Abin Simon
b164cbef9e Improve .release.toml to auto prep for next release 2022-09-13 08:52:43 +05:30
Abin Simon
68d2d0f27c Prepare changelog for next release 2022-09-13 08:41:14 +05:30
Doug Elkin
e7fb6f34ed return POSIX-compatible exit status 2022-09-12 09:19:42 +05:30
Abin Simon
496e4be705 Fix changelog template 2022-09-10 12:01:11 +05:30
Doug Elkin
564128a175 update changelog for ZSH completion fix 2022-09-10 12:01:11 +05:30
Abin Simon
80a2bb26c8
Release 0.23.0 2022-09-05 14:53:06 +05:30
Saber Haj Rabiee
06ce88dd46 perf: reduces the binary size and improves the performance
correctes the `CHANGELOG.md`

correctes the CHANGELOG.md
2022-08-23 22:39:14 +05:30
Han Yeong-woo
7d523103ec feat(icon): add icon for Zstandard 2022-08-23 09:15:48 +05:30
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
Abin Simon
5431651631 Bump crossterm to 0.24.0 2022-07-05 13:07:00 +05:30
Abin Simon
2ebc8529b1 Post release cleanup 2022-06-12 14:38:54 +05:30
Abin Simon
dadd350d2e
Release 0.22.0 2022-06-12 14:23:48 +05:30
MichaelAug
a58e2fd31f Update CHANGELOG, README and man page 2022-05-26 11:44:29 +08:00
Kodi Craft
f6965bebe9 Updated CHANGELOG.md 2022-05-26 11:34:27 +08:00
Narawit Rakket
23a11de5df chore: update Changelog 2022-05-02 11:56:47 +05:30
Nix
46f596ff5d Update CHANGELOG 2022-05-02 10:56:24 +05:30
Abin Simon
2348dd8729 Add changelog entry 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
Martin Matous
3b6b343944 add access control indicators
fixes #347
fixes #515

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
Abin Simon
019e8e424f Don't automatically dereference symlinks in tree/recursive 2022-03-15 19:56:06 +08:00