Commit graph

1030 commits

Author SHA1 Message Date
Fabio Valentini
dee06211ab
update various dependencies (#938)
I'm the maintainer of lsd for Fedora Linux, and some outdated
dependencies are making maintenance increasingly difficult.

- deps: update chrono-humanize to v0.2

We have this patched for almost two years in Fedora and it has not
caused issues.

- deps: update assert_cmd to v2

Same here, this patch has been in the Fedora package for a while.

- deps: update sys-locale to v0.3

This dependency seems to have been added recently, not sure why an old
version was chosen.

- deps: update vsort to v0.2

Same here, this was added recently but 0.1 was used instead of 0.2, not
sure why.

- deps: update git2 to v0.18

Using old versions of git2 is not a good idea, since the bundled libgit2
C library often has CVE issues.

- deps: migrate from users to uzers

The "users" crate is unmaintained. The "uzers" crate is an
API-compatible fork that also fixes some bugs and security issues.

- deps: update serial_test to v2

The current dependency (v0.5) is **reeeeeally** old. Not sure why this
was never updated.

- deps: update predicates to v3

Same here, predicates v1 is **reaally** old.

- deps: allow newer versions of url, wild, and xdg crates

Not sure why strange `x.0.*` style dependencies were used here. It's
holding back various updates for both url and xdg crates, and makes
maintaining lsd in Fedora more difficult. We have built lsd against the
latest versions of all three crates forever, and it has not caused
issues.
2023-12-20 11:44:20 +08:00
Wei Zhang
0fce899e90
📝 🔨 emphasis on the dev docs notice (#969)
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2023-12-19 19:47:18 +08:00
Y.D.X
8937c4720b
ci: Release PowerShell completion script (#953) 2023-11-26 09:17:53 +08:00
Inventhrice
b6dc489ffd
Updated README.md to contain clear instructions for color scheming in Windows (#961) 2023-11-25 22:16:23 +08:00
daniejstriata
0fa2ca2b3a
RPM spec file for lsd (#901)
Basic SPEC file that can be used to build a RPM for lsd. 
  - UPX compression was disabled.

I have precompiled packages on my fork for EL9 and AMZN AL2023.
https://github.com/daniejstriata/lsd/releases
2023-11-24 18:36:56 +08:00
Wei Zhang
35986b28f7
📝 docs: add notice for the readme is for dev (#960) 2023-11-22 19:13:07 +08:00
KD Puvvadi
3acc758c0b
installation: windows (winget) (README) (#920) 2023-11-22 18:32:11 +08:00
巢鹏
fcb52d2a92
Update README: Icon Theme config does not require build from source (#957)
 theme: bring icon theme to lsd by @zwpaper in #707 is included in
[Release v1.0.0](https://github.com/lsd-rs/lsd/releases/tag/v1.0.0).
2023-11-19 16:16:32 +08:00
Azad
5d857b5bcc
Fix literal flag not being recognized from config file (#935)
The `literal` option was not correctly recognized from config file due
to `Literal::from_cli` returning `Some(Literal(false))` instead of
`None`, so `Literal::from_config` would never have been executed.
2023-11-15 14:53:16 +08:00
Jonathan
6f8e095248
Update icon.rs (#946)
Adds couple file extensions.

`.cypher` - Cypher, a query language
`.malloy` - Malloy, a query language
`.kusto` - Kusto Query Language
`.rq` - SPARQL, a query language
2023-11-07 11:10:28 +08:00
Jonathan
7a75795c14
Add PRQL (#945)
PRQL is a modern language for transforming data — a simple, powerful,
pipelined SQL replacement.

https://prql-lang.org/
https://github.com/PRQL/prql
2023-11-07 11:10:10 +08:00
Tanner Babcock
89659e4144
Adding some more icons for filenames and extensions (#929)
- Found a better (larger and clearer) Rust icon, so I changed that
(`\u{e68b}`)
- Set emacs config files (`config.el`, `packages.el` etc.) to use the
actual Emacs icon instead of GNU head for Emacs files (`\u{e632}`)
- Perl language extensions (`.pl`, `.pm`, `.pod`, `.plx`) now use the
camel instead of the... circle (`\u{e67e}`)
- Added OCAML extensions (`.ml`, `.mli`, `.mll`)
- Added many Go and Gradle filenames
- Added separate key icons for public keys (extensions) and private keys
(filenames)
- Added a kitty cat for Yarn configuration files
- Switched all the Bash, Zsh, and Csh filenames to use a shebang icon,
instead of the command prompt

[For reference](https://www.nerdfonts.com/cheat-sheet)
2023-11-02 10:57:03 +08:00
Wei Zhang
64f9dab351
⬆️ bump lscolors to v0.15.0 and msrv to 1.69.0 (#944)
<!--- PR Description --->

predicates v3 msrv is 1.69 in https://github.com/lsd-rs/lsd/pull/938
2023-11-01 13:08:05 +08:00
Ari Archer
59dc141c74
add and improve icons (#942)
- add icons for files for the ash shell
- add static resources directory icons
- add android directory icons
- add bash history icon
- add packaging icons
- add cache icons
- improve the icon for `idlerc`
- add java icon
- add magic files icon
- add development icons ( like `tests` directory )
- add pdb password database icon
2023-10-30 23:17:51 +08:00
dependabot[bot]
36c8f26a17 Bump rustix from 0.36.7 to 0.36.16
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.36.7 to 0.36.16.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.36.7...v0.36.16)

---
updated-dependencies:
- dependency-name: rustix
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-22 15:05:51 +08:00
dcechano
4bdf044b35 fix typo in link color table 2023-10-15 17:14:18 +08:00
Wei Zhang
ae1a2cd964 ❤️ add sponsor from warp.dev
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2023-10-02 13:43:27 +08:00
Wei Zhang
1714d89d8e ⬇️ change dirs to 4
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2023-09-29 01:29:46 +08:00
Wei Zhang
c8f1d754df ❤️ update funding to Wei
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2023-09-28 19:05:08 +08:00
Alexander Kjäll
a325255bcb upgrade lscolors to 0.14.0 2023-09-27 00:53:56 +08:00
Alexander Kjäll
08ffd13b34 upgrade dirs to version 5 2023-09-27 00:53:12 +08:00
Alexander Kjäll
23d7348afc upgrade xattr to version 1 2023-09-27 00:50:40 +08:00
Ari Archer
b6141aade7 add obj directory icon
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2023-09-24 20:03:39 +08:00
Marcin Wojnarowski
949128fe9b
Add changelog deprecation notice (#907) 2023-09-23 19:28:07 +08:00
Wei Zhang
177c910d06 🔍 🔨 fix test for adding disable permission
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2023-09-20 23:45:34 +08:00
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