Commit graph

1066 commits

Author SHA1 Message Date
Wei Zhang
a7fce648ac 🐛 fix ls with link cases
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-08-19 23:49:27 +08:00
Wei Zhang
9c66549207 🐛 should print symlink content at depth 1
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-08-19 23:49:27 +08:00
Wei Zhang
c433da0dfd should not overwrite tree layout when tty not available
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-08-19 23:49:27 +08:00
wangmengc
b64905709a #1052 fix lsd pipe output 2024-08-19 23:49:27 +08:00
a-dubaj
9b310da600 Fix typo 2024-07-17 13:42:32 +08:00
Tom Regner
cffa045354 Update README.md
serde-0.9 no longer has this bug; 
testing lsd with a zero-byte colors.yaml works just fine showing the default theme.
2024-06-30 14:33:07 +08:00
Sebastian Mohr
bc20b8f80b Fix hint stating wrong permissions option #1065 2024-06-22 11:55:31 +08:00
Long0x0
5d02a59e29 Fix clap doc-comment
clap always removes the last single period from a doc-comment.
2024-06-08 15:55:01 +08:00
Philippe F
91e34c1d7b Add installation instructions for windows / chocolatey 2024-06-08 15:48:32 +08:00
Isaiah
418dd06836 add blender icons 2024-04-29 16:06:08 +08:00
Wei Zhang
240d513338 🔨 🎉 use cache for user and group in unix, gain 60% improve
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-04-29 16:03:59 +08:00
Wei Zhang
126acf7762 ❤️ update warp logo with linux support
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-04-20 09:32:39 +08:00
adrian5
ee2d12bb15 Update permission options in README; minor tweaks 2024-04-02 23:48:53 +08:00
Orhun Parmaksız
69b28bf4c8
chore: build with --locked flag in CI (#1022) 2024-03-29 21:43:56 +08:00
Orhun Parmaksız
575f505dc2 chore: update Cargo.lock for latest version 2024-03-29 20:29:28 +08:00
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