Commit graph

1051 commits

Author SHA1 Message Date
Wei Zhang
0e70dbdb7a 🎉 release v1.1.2
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-03-26 00:28:42 +08:00
Wei Zhang
94249be768 ⬇️ rollback the term grid to 0.1
we should consider find another alternative

Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-03-26 00:28:42 +08:00
Wei Zhang
16181df25b 🎉 release v1.1.1
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-03-23 15:11:34 +08:00
Wei Zhang
4310bf814c 🚧 temporarily allow deprecated duration
will fix in next release

Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-03-22 23:59:12 +08:00
Wei Zhang
7ad1be8cda ⬆️ set msrv to 1.74
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-03-22 23:59:12 +08:00
Wei Zhang
62a4c54733 add xdg dir back
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-03-22 23:59:12 +08:00
Ofer Sadan
94538d01e0 Support multiple file paths for config and theme 2024-03-22 23:59:12 +08:00
Ofer Sadan
a1bd4d6347 Add support for tilde (~) expansion on windows 2024-03-22 23:59:12 +08:00
Han Yeong-woo
1e8120ff28 Add icons for .apng and .avif 2024-03-12 13:53:07 +08:00
Marcin Puc
e9a778aadc add fennel support 2024-02-22 12:24:56 +08:00
Zach Coyle
f057e299d4 change neovim to proper icon 2024-02-22 12:23:50 +08:00
Wei Zhang
41893ae918
🛤️ : add loongarch ci and releases (#990)
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-02-16 14:17:13 +08:00
Wei Zhang
b4d4462840 🎨 🔨 simplify the windows cfg
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-02-16 11:47:12 +08:00
Dom Slee
bc6c930831 Update doc 2024-02-16 11:47:12 +08:00
Dom Slee
92d4e96622 Implementation 2024-02-16 11:47:12 +08:00
Wei Zhang
48b5adf929 🔨 🎨 put fish auto comp under vendor dir
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-02-16 11:31:19 +08:00
Fabio Valentini
0d2e36ac99 update various dependencies
- update dirs from v4 to v5 (no code changes)
- update term_grid from v0.1 to v0.2 (small code changes)
- update terminal_size from v0.1 to v0.3 (no code changes)
- update lscolors from v0.15 to v0.16 (no code changes)
- update serde_yaml from v0.8 to v0.9 (no code changes)

The term_grid update required small changes to the use of
`term_grid::Cell` because with v0.2, it is possible to specify the
alignment within the cell. Adding `Alignment::Left` should preserve
the current behaviour.

This commit also includes the changes generated by "cargo update",
which seems not to have been run in a long time, causing very old
versions to be pulled in.
2024-02-16 11:30:41 +08:00
dependabot[bot]
73eeb7f717
Bump libgit2-sys from 0.16.1+1.7.1 to 0.16.2+1.7.2 (#987)
Bumps [libgit2-sys](https://github.com/rust-lang/git2-rs) from
0.16.1+1.7.1 to 0.16.2+1.7.2.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/rust-lang/git2-rs/commits">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=libgit2-sys&package-manager=cargo&previous-version=0.16.1+1.7.1&new-version=0.16.2+1.7.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts page](https://github.com/lsd-rs/lsd/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 22:23:24 +08:00
zica
222f573cd3
📝 document --date=locale (#985)
This flag is added by #840
2024-02-12 17:54:33 +08:00
atamakahere-git
ba3666a6fc
Nim lang support (#979)
<!--- PR Description --->
Closes #978
---
#### TODO

- [x] Use `cargo fmt`
- [ ] Add necessary tests
- [ ] Update default config/theme in README (if applicable)
- [ ] Update man page at lsd/doc/lsd.md (if applicable)
2024-01-26 14:39:11 +08:00
Wei Zhang
d2538a698e
🛤️ ci: package deb without zst (#970)
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2023-12-21 14:20:26 +08:00
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