Wei Zhang
50140d5113
✨ add disable option for permission
...
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2023-09-20 23:45:34 +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
Laurent Cheylus
762e724f2a
Update README for installation on OpenBSD
...
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2023-09-05 00:27:37 +08:00
Zhizhen He
80134e63e3
Update repository names in README.md
...
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-09-01 10:41:55 +08:00
Bjoern Hiller
7a9506da89
Parse hex colors in themes ( #647 )
...
Just delegate to the default deserializer of crossterm which learned
dealing with hex color in version 0.27.0.
2023-08-30 12:21:18 +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
marcos-gamarra
8acaabec72
Update src/theme/icon.rs to add Svelte icon
2023-07-18 11:45:27 +08:00
juansc
58a8723cfa
Added newlines to warning message ( #869 )
2023-07-08 15:51:00 +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
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
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
Wei Zhang
bafc495045
🎉 add zwpaper to code owner ( #860 )
2023-06-22 14:32:26 +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
Alexander Kjäll
6840c01905
Clarify that ubuntu 23.04 can use apt to install lsd
2023-04-27 14:29:19 +05:30
Abin Simon
4c09647a73
Move locale based date behind a flag ( #840 )
2023-04-27 00:41:27 +08:00
Craig O'Connor
7b18d52792
Update icon.rs
...
add zig extension icon
2023-04-24 09:51:27 +05:30
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
Wei Zhang
8c62e9ed12
✨ chore: add new bug template
...
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2023-04-07 11:15:23 +08:00
Han Yeong-woo
118faab533
Add icons for cjs, cts and mts
2023-04-03 15:33:22 +08:00
Marcin Puc
c267a040c6
Switch arg parsing to clap v4 with derive
2023-03-17 00:12:32 +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
Abin Simon
ea56a7c385
Update docs about supported block options
2023-01-22 22:38:33 +05:30
Abin Simon
d1cf72c968
Drop size_value from blocks docs
2023-01-18 10:28:01 +05:30
Semnodime
bc80b8432a
Update README / Note snap discontinuation
...
See https://github.com/Peltoche/lsd/issues/804
2023-01-18 10:59:16 +08:00
Alexander Kjäll
40215fe59f
Add installation information for debian sid and bookworm
...
https://packages.debian.org/sid/lsd
https://packages.debian.org/bookworm/lsd
2023-01-14 20:53:41 +05:30
zwPapEr
181c990230
ci: ✨ add clap deprecated checks
...
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2023-01-12 14:37:28 +05:30
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
c48f0f48f5
add tests to verify executable state on Windows
2022-11-26 09:41:24 +05:30
Icxolu
aed96649be
remove unused is_executable
on Windows
2022-11-26 09:41:24 +05:30
Icxolu
d9b4b05d27
update changelog
2022-11-26 09:41:24 +05:30
Icxolu
4d07de05ef
mark executables on windows based on file extensions
...
`exe`, `msi`, `bat` and `ps1` are marked as executable.
2022-11-26 09:41:24 +05:30
Abin Simon
c5a2fa3b23
Update and sort icons
2022-11-23 10:35:22 +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
Abin Simon
f5ee0a2b51
Small typo in README
2022-11-17 09:23:51 +05:30
Abin Simon
b8996c5095
Add note about not icon config not being in a release yet
2022-11-17 09:22:00 +05:30
demilade
c2cf835916
Theme colors for inode and links are now being applied to the output
2022-11-14 10:09:48 +05:30
Icxolu
907214cb39
bump min rustc version to 1.64
2022-11-13 22:10:58 +05:30
Icxolu
c3596c35ad
update changelog
2022-11-13 22:10:58 +05:30
Icxolu
457d4951b8
hide system protected files even with --all / --almost-all
...
since interaction with these files is rare. Introduce --system-protected
flag to include these files.
2022-11-13 22:10:58 +05:30
Icxolu
62addc53e6
check windows hidden file attribute
2022-11-13 22:10:58 +05:30
Icxolu
c1c8958fd0
move winapi to windows
2022-11-13 22:10:58 +05:30