mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-02-14 17:49:53 +00:00
ref(lsd): enable musl builds, update docs
This commit is contained in:
@@ -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
|
||||
|
||||

|
||||

|
||||
|
||||
> `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
|
||||
```
|
||||
|
||||
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user