ref(lsd): enable musl builds, update docs

This commit is contained in:
AJ ONeal
2023-07-04 20:59:47 +00:00
parent 5f96be9593
commit 4ad1d3da4b
2 changed files with 29 additions and 5 deletions

View File

@@ -1,15 +1,23 @@
---
title: LSDeluxe
homepage: https://github.com/Peltoche/lsd
homepage: https://github.com/lsd-rs/lsd
tagline: |
LSDeluxe: next gen ls command
---
To update or switch versions, run `webi lsd@stable` (or `@v0.20`, `@beta`, etc).
### Files
```text
~/.config/envman/PATH.env
~/.config/lsd/config.yaml
~/.local/bin/lsd
```
## Cheat Sheet
![](https://raw.githubusercontent.com/Peltoche/lsd/assets/screen_lsd.png)
![](https://raw.githubusercontent.com/lsd-rs/lsd/assets/screen_lsd.png)
> `lsd` is a modern, cross-platform, drop-in replacement for `ls`. It does
> everything that you expect it to, plus modern extras that you can check out
@@ -46,6 +54,16 @@ alias lsd=lsd --icon=never --color=never
lsd
```
(you may also enjoy [`aliasman`](../aliasman/))
Or update the config file:
`~/.config/lsd/config.yaml`
```yaml
classic: true
```
### How to alias as `ls`, `ll`, `la`, etc
This will affect the interactive shell, but not scripts.
@@ -92,8 +110,14 @@ Or manually update your `.bashrc`, `.zshrc`, or `.profile`
alias tree="lsd -AF --tree"
```
And when you want to use GNU `tree`, just escape the alias:
And when you want to use GNU `tree` you can escape the alias in some shells:
```sh
\tree
```
Or use the full path:
```sh
/bin/tree
```

View File

@@ -1,13 +1,13 @@
'use strict';
var github = require('../_common/github.js');
var owner = 'Peltoche';
var owner = 'lsd-rs';
var repo = 'lsd';
module.exports = function (request) {
return github(request, owner, repo).then(function (all) {
all.releases = all.releases.filter(function (rel) {
return !/(-musl\.)|(-msvc\.)|(\.deb$)/.test(rel.name);
return !/(-msvc\.)|(\.deb$)/.test(rel.name);
});
return all;
});