Skip to content

Commit

Permalink
Merge branch 'master' into recent-date-format
Browse files Browse the repository at this point in the history
  • Loading branch information
manno authored Apr 25, 2023
2 parents 894e2c3 + 7b18d52 commit c4841c7
Show file tree
Hide file tree
Showing 5 changed files with 226 additions and 54 deletions.
91 changes: 91 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
name: Bug Report Form
description: Create a report to help us improve, by the new GitHub form
title: "[Bug]: "
labels: ["bug"]
assignees:
- zwpaper
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: checkboxes
id: latest-version
attributes:
label: Version
description: Please make sure you can reproduce in the [latest release](https://github.com/lsd-rs/lsd/releases/latest)
options:
- label: latest
required: true
- type: textarea
id: version
attributes:
label: version
description: "`lsd --version` output"
placeholder: lsd --version
validations:
required: true
- type: dropdown
id: os
attributes:
label: What OS are you seeing the problem on?
multiple: true
options:
- Windows
- Linux
- macOS
- Others
- type: textarea
id: installation
attributes:
label: installation
description: "how do you install lsd?"
placeholder: "how do you install lsd?"
validations:
required: true
- type: textarea
id: term
attributes:
label: term
description: "`echo $TERM` output"
placeholder: echo $TERM
validations:
required: false
- type: textarea
id: ls-colors
attributes:
label: ls-colors
description: "`echo $LS_COLORS` output"
placeholder: echo $LS_COLORS
validations:
required: false
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Tell us what happen?
placeholder: |
If applicable, add the output of the classic ls command (`\ls -la`) in order to show the buggy file/directory.
render: markdown
validations:
required: true
- type: textarea
id: what-expected
attributes:
label: What expected?
description: What did you expect to happen?
placeholder: |
If the application panics run the command with the trace (`RUST_BACKTRACE=1 lsd ...`).
In case of graphical errors, add a screenshot if possible."
render: markdown
validations:
required: true
- type: textarea
id: others
attributes:
label: What else?
description: Is there anything else you want to tell us?
placeholder: "Others"
render: markdown
validations:
required: false
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
on other platform the same as `--all` [#752](https://github.com/Peltoche/lsd/issues/752)
- Add many icons from https://github.com/Peltoche/lsd/issues/764 [@TruncatedDinosour](https://ari-web.xyz/gh)
- Add support for localization from [scarf](https://github.com/scarf005)
- Add icons for cjs, cts and mts from [Han Yeong-woo](https://github.com/nix6839)
- Fix obsolete Nerd Font icons from [Han Yeong-woo](https://github.com/nix6839)
- Add support to format dates for recent files differently. If `'+<date_format>'` contains a second format it is applied to files from the last six months. The formats are separated by new-line, similar to `TIME_STYLE` in GNU ls.

### Fixed
Expand All @@ -24,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[`LS_COLORS`](README.md#Colors) can be used to customize.
- Handle dereference (-L) with broken symlink from [r3dArch](https://github.com/r3dArch)
- Avoid using Clap's deprecated structs and functions [sudame](https://github.com/sudame)
- Icon theme with overrides from config [sudame](https://github.com/sudame)

## [0.23.1] - 2022-09-13

Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,12 +338,12 @@ filetype:
dir: 📂
file: 📄
pipe: 📩
socket:
socket: 󰆨
executable: 
symlink-dir: 
symlink-file: 
device-char: 
device-block:
device-block: 󰜫
special: 
```

Expand Down Expand Up @@ -431,6 +431,12 @@ lsd --icon never --ignore-config

`lsd` will try to display the UTF-8 chars in file name, A `U+FFFD REPLACEMENT CHARACTER`(�) is used to represent the invalid UTF-8 chars.

### Icons are showing up strangely

Nerd Fonts is moving the codepoints of the Material Design Icons in 3.0, so lsd has updated the icons in #830. If your icons look weird, use fonts that have been patched using Nerd Fonts v2.3.0 or later.

See also: <https://github.com/ryanoasis/nerd-fonts/releases/tag/v2.3.3>

## Contributors

Everyone can contribute to this project, improving the code or adding functions. If anyone wants something to be added we will try to do it.
Expand Down
2 changes: 1 addition & 1 deletion src/meta/name.rs
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ mod test {
let name = Name::new(&pipe_path, file_type);

assert_eq!(
" pipe.tmp".to_string().with(Color::AnsiValue(184)),
"󰈲 pipe.tmp".to_string().with(Color::AnsiValue(184)),
name.render(
&colors,
icons,
Expand Down
Loading

0 comments on commit c4841c7

Please sign in to comment.