[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5432":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":16,"starSnapshotCount":16,"syncStatus":34,"lastSyncTime":35,"discoverSource":36},5432,"lsd","lsd-rs\u002Flsd","lsd-rs","The next gen ls command","",null,"Rust",16057,502,70,161,0,10,65,6,43.1,"Apache License 2.0",false,"main",[25,26,27,28,29,30],"color","hacktoberfest","icons","ls","nerd-fonts","rust","2026-06-12 02:01:10","\u003Cdiv align=\"center\">\n   \u003Csup>Special thanks to:\u003C\u002Fsup>\n   \u003Cbr>\n   \u003Csup>Maintained with ❤️ + 🤖 by Pochi\u003C\u002Fsup>\n   \u003Cbr>\n   \u003Cbr>\n   \u003Ca href=\"https:\u002F\u002Fapp.getpochi.com\">\n      \u003Cimg alt=\"Pochi AI Coding Assistant\" width=\"160\" src=\"https:\u002F\u002Fgithub.com\u002FTabbyML\u002Fpochi\u002Fblob\u002Fmain\u002Fpackages\u002Fvscode\u002Fassets\u002Ficons\u002Flogo128.png?raw=true\">\n   \u003C\u002Fa>\n\n### [Pochi is an AI agent designed for software development.](https:\u002F\u002Fapp.getpochi.com)\n[It operates within your IDE, using a toolkit of commands to write and refactor code autonomously across your entire project.](https:\u002F\u002Fapp.getpochi.com)\u003Cbr>\n\n\u003C\u002Fdiv>\n\n---\n\n> [!IMPORTANT]\n> This is the documentation for the development version of lsd.\n> Please consult the documentation on [the Tags page](https:\u002F\u002Fgithub.com\u002Flsd-rs\u002Flsd\u002Ftags) if you are looking for the documentation of individual releases.\n>\n> The current newest release is: [v1.2.0](https:\u002F\u002Fgithub.com\u002Flsd-rs\u002Flsd\u002Ftree\u002Fv1.2.0)\n\n# LSD (LSDeluxe)\n[![license](http:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-Apache%20v2-blue.svg)](https:\u002F\u002Fraw.githubusercontent.com\u002Flsd-rs\u002Flsd\u002Fmaster\u002FLICENSE)\n[![Latest version](https:\u002F\u002Fimg.shields.io\u002Fcrates\u002Fv\u002Flsd.svg)](https:\u002F\u002Fcrates.io\u002Fcrates\u002Flsd)\n[![build](https:\u002F\u002Fgithub.com\u002Flsd-rs\u002Flsd\u002Fworkflows\u002FCICD\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Flsd-rs\u002Flsd\u002Factions)\n[![codecov](https:\u002F\u002Fcodecov.io\u002Fgh\u002Flsd-rs\u002Flsd\u002Fbranch\u002Fmaster\u002Fgraph\u002Fbadge.svg)](https:\u002F\u002Fcodecov.io\u002Fgh\u002Flsd-rs\u002Flsd)\n[![versions](https:\u002F\u002Fimg.shields.io\u002Frepology\u002Frepositories\u002Flsd)](https:\u002F\u002Frepology.org\u002Fproject\u002Flsd\u002Fversions)\n\n![lsd sample output](https:\u002F\u002Fraw.githubusercontent.com\u002Flsd-rs\u002Flsd\u002Fassets\u002Fscreen_lsd.png)\n\nThis project is a rewrite of GNU `ls` with lots of added features like colors, icons, tree-view, more formatting options etc.\nThe project is heavily inspired by the super [colorls](https:\u002F\u002Fgithub.com\u002Fathityakumar\u002Fcolorls) project.\n\n## Installation\n### Prerequisites\n>[!TIP]\n> Have a look at the [Nerd Font README](https:\u002F\u002Fgithub.com\u002Fryanoasis\u002Fnerd-fonts\u002Fblob\u002Fmaster\u002Freadme.md) for help with installing Nerd Fonts\n\n1. In order for icons to work you need to have a patched font like [nerd-font](https:\u002F\u002Fwww.nerdfonts.com) or [font-awesome](https:\u002F\u002Ffontawesome.com) installed on your machine and your terminal needs to be configured to use the patched font of your choosing.\n2. If you intend to install `lsd` from source you need to have a working Rust toolchain (obviously) on your machine.\n\n### Installing with a package manager\n\u003Cdetails>\n\u003Csummary>Packaging status\u003C\u002Fsummary>\n\u003Ca href=\"https:\u002F\u002Frepology.org\u002Fproject\u002Flsd\u002Fversions\">\n    \u003Cimg src=\"https:\u002F\u002Frepology.org\u002Fbadge\u002Fvertical-allrepos\u002Flsd.svg?columns=3\" alt=\"Packaging status\">\n\u003C\u002Fa>\n\u003C\u002Fdetails>\n\nPlease consult the table below for the installation command associated with your package manager.\n\n| OS\u002FDistro                       | Command                                                                                                              |\n| ------------------------------- | ---------------------------------------------------------------------------------------------------------------------|\n| Archlinux                       | `pacman -S lsd`                                                                                                      |\n| Fedora                          | `dnf install lsd`                                                                                                    |\n| Gentoo                          | `sudo emerge sys-apps\u002Flsd`                                                                                           |\n| macOS                           | `brew install lsd` or `sudo port install lsd`                                                                        |\n| Nix (non NixOS)                 | [`nix-env -iA nixpkgs.lsd`](https:\u002F\u002Fsearch.nixos.org\u002Fpackages?show=lsd)                                              |\n| NixOS                           | Add [`environment.systemPackages = [ pkgs.lsd ];`](https:\u002F\u002Fsearch.nixos.org\u002Fpackages?show=lsd) to your system config |\n| FreeBSD                         | `pkg install lsd`                                                                                                    |\n| NetBSD or any `pkgsrc` platform | `pkgin install lsd` or `cd \u002Fusr\u002Fpkgsrc\u002Fsysutils\u002Flsd && make install`                                                 |\n| OpenBSD                         | `pkg_add lsd`                                                                                                        |\n| Windows                         | `scoop install lsd` or `winget install --id lsd-rs.lsd` or `choco install lsd`                                       |\n| Android (via Termux)            | `pkg install lsd`                                                                                                    |\n| Debian sid and bookworm         | `apt install lsd`                                                                                                    |\n| Ubuntu 23.04 (Lunar Lobster)    | `apt install lsd`                                                                                                    |\n| Earlier Ubuntu\u002FDebian versions  | **snap discontinued**, use the method described [here](#installing-binaries-directly) instead                        |\n| Solus                           | `eopkg it lsd`                                                                                                       |\n| Void Linux                      | `sudo xbps-install lsd`                                                                                              |\n| openSUSE                        | `sudo zypper install lsd`                                                                                            |\n\n### Installing from source\nWith [Rust's package manager cargo](https:\u002F\u002Fdoc.rust-lang.org\u002Fstable\u002Fcargo\u002F), you can install lsd via:\n```sh\ncargo install lsd\n```\n\nAnd if you want to install the latest `main` branch commit you can do so via:\n```sh\ncargo install --git https:\u002F\u002Fgithub.com\u002Flsd-rs\u002Flsd.git --branch main\n```\n\n### Installing binaries directly\nThe [release page](https:\u002F\u002Fgithub.com\u002Flsd-rs\u002Flsd\u002Freleases) includes precompiled binaries for Linux, macOS, and Windows for every release. You can also get the latest binary of the `main` branch from the [GitHub action build artifacts](https:\u002F\u002Fgithub.com\u002Flsd-rs\u002Flsd\u002Factions?query=branch%3Amain+is%3Asuccess+event%3Apush) (choose the top action and then scroll down to the artifacts section).\n\n#### Configuring your shell to use lsd instead of ls (optional)\nIn order to use lsd instead of entering the `ls` command, you need to create an alias for ls in to your shell configuration file (`~\u002F.bashrc`, `~\u002F.zshrc`, etc...). The simplest variant of such an alias is:\n```sh\nalias ls='lsd'\n```\nThe alias above will replace a stock ls command with an lsd command without additional parameters.\n\nSome examples of other useful aliases are:\n```sh\nalias l='lsd -l'\nalias la='lsd -a'\nalias lla='lsd -la'\nalias lt='lsd --tree'\n```\n\n## Customizing lsd (configuration and theming)\n> [!TIP]\n> In order to make the customization process easier for you we’ve supplied sample files. These files contain the entries for all the defaults that `lsd` comes with after installation. You can find the sample files in the [documentation folder](.\u002Fdoc).\n>\n> We've also supplied a [color reference](.\u002Fdoc\u002Fcolors.md) where we’ve documented the default colors `lsd` uses in its output. You can also preview there.\n\nIn order to tailor `lsd` to your specific needs you can create any of the following three files and make adjustments as you see fit.\n\n1. `config.yaml` → [config sample file here](.\u002Fdoc\u002Fsamples\u002Fconfig-sample.yaml)\n2. `colors.yaml` → [colors sample file here](.\u002Fdoc\u002Fsamples\u002Fcolors-sample.yaml)\n3. `icons.yaml` → [icons sample file here](.\u002Fdoc\u002Fsamples\u002Ficons-sample.yaml)\n\nNote that it is _not_ required to have all three of the files present in order for your configuration to be applied. For example, if you [only want to customize the icons](#customization-example) then only [`icons.yaml`](.\u002Fdoc\u002Fsamples\u002Ficons-sample.yaml) needs to be present in the [configuration directory](#config-file-locations); [`config.yaml`](.\u002Fdoc\u002Fsamples\u002Fconfig-sample.yaml), and [`colors.yaml`](.\u002Fdoc\u002Fsamples\u002Fcolors-sample.yaml) do not have to be present in order for your icon modifications to be applied.\n\n### Config file locations\n> [!TIP]\n> You can also instruct `lsd` to look for configuration files in a custom location of your choosing by using the following command: `lsd --config-file [YOUR_CUSTOM_PATH]`. This is particularly useful when testing a configuration changes before committing to them.\n\n#### Unix (Linux, Mac, etc...)\nOn non-Windows systems `lsd` follows the [XDG Base Directory Specification](https:\u002F\u002Fspecifications.freedesktop.org\u002Fbasedir-spec\u002Fbasedir-spec-latest.html), thus `lsd` will look for configuration files any of the following locations:\n\n- `$HOME\u002F.config\u002Flsd`\n- `$XDG_CONFIG_HOME\u002Flsd`\n\nOn most systems these variables are mapped to the same location, which is usually `~\u002F.config\u002Flsd\u002F`. If `lsd` does not detect the location, or if the location exists but does not contain any of the three configuration files, the default configuration will be used instead.\n\n#### Windows\nOn Windows systems `lsd` will look for configuration files in the following locations, **in order**:\n\n1. `%USERPROFILE%\\.config\\lsd`\n2. `%APPDATA%\\lsd`\n\nThese locations are usually something like `C:\\Users\\username\\AppData\\Roaming\\lsd\\`, and `C:\\Users\\username\\.config\\lsd\\` respectively.\n\n### Quick customization example\nFor this example let's assume you're already content `lsd`, but there are a few of the default icons that really bug you and you want to change them to something that suits your needs better. All you have to do is create an `icons.yaml` file in the [configuration directory](#config-file-locations) and configure your custom icon there. Here’s how.\n\nThere are 3 kinds of icon overrides available in `lsd`:\n\n- `name`\n- `filetype`\n- `extension`\n\nBoth nerd font glyphs and Unicode emojis can be used for icons. The final set of icons that `lsd` will use is a combination of the [default icons](.\u002Fsrc\u002Ftheme\u002Ficon.rs) with the custom icons you’ve set in the `icons.yaml` file.\n\n> [!NOTE]\n> Aside from the [icon sample file](.\u002Fdoc\u002Ficons-sample.yaml), you can also find the default icon set in the source code [here](src\u002Ftheme\u002Ficon.rs).\n\nA short example for each type of the icon overrides is shown below.\n\n```yaml\nname:\n  .trash: \n  .cargo: \n  .emacs.d: \n  a.out: \nextension:\n  go: \n  hs: \n  rs: 🦀\nfiletype:\n  dir: 📂\n  file: 📄\n  pipe: 📩\n  socket: 󰆨\n  executable: \n  symlink-dir: \n  symlink-file: \n  device-char: \n  device-block: 󰜫\n  special: \n```\n\n## F.A.Q and troubleshooting\n### How can I enable nerd fonts using xresources?\nTo enable nerd fonts for your terminal, URxvt for example, in `.Xresources` take a look at the example below:\n\n```sh\nURxvt*font:    xft:Hack Nerd Font:style=Regular:size=11\n```\n\n### Why am I seeing `Uses unknown compression for member ‘control.tar.zst'` when using deb?\nZst compression is only supported from `Debian 12`, `Ubuntu 21.10`, and upward. Starting from `lsd v1.1.0` please use the `_xz.deb` release instead. See [this issue](https:\u002F\u002Fgithub.com\u002Flsd-rs\u002Flsd\u002Fissues\u002F891) for additional details and manual fixes.\n\n### How can I set custom color schemes for Windows?\nIn order to display a custom color scheme `lsd` reads a system environment variable called `LS_COLORS`. If your custom color scheme is not working `LS_COLORS` is most likely missing. Please look at [the marked solution in this post](https:\u002F\u002Fgithub.com\u002Forgs\u002Flsd-rs\u002Fdiscussions\u002F958#discussioncomment-7659375), which contains instructions on how to set a custom color scheme on Windows for guidance.\n\n### Why are icons not showing up\n> [!IMPORTANT]\n> Always check if the font you are using is correctly set up! Run the following snippet in your terminal emulator and verify that the output [prints a folder icon](https:\u002F\u002Fgithub.com\u002Flsd-rs\u002Flsd\u002Fissues\u002F510#issuecomment-860000306). If it prints a box, or question mark, or something else, then you might have some issues in how you set up the font or how your terminal emulator renders the font.\n>\n>    ```sh\n>    echo $'\\uf115'\n>    ```\n\nFor `lsd` to be able to display icons the font has to include special font glyphs. If icons are not being displayed it could be the case that your current font does not include such glyphs. Thankfully, you can patch most fonts using [NerdFont](https:\u002F\u002Fwww.nerdfonts.com\u002F) and add these icons to your current font.\n\nAlternatively, you can also download an already patched version of your favorite font from the [NerdFont font download page](https:\u002F\u002Fwww.nerdfonts.com\u002Ffont-downloads).\n\nHere is a guide on how to set up fonts on [macOS](https:\u002F\u002Fgithub.com\u002Flsd-rs\u002Flsd\u002Fissues\u002F199#issuecomment-494218334), and on [Android](https:\u002F\u002Fgithub.com\u002Flsd-rs\u002Flsd\u002Fissues\u002F423).\n\n### Why are Icons missing or not rendering correctly using PuTTY\u002FKiTTY on Windows?\nFirst of all, make sure a patched font is available on your local machine and that PuTTY\u002FKiTTY is configured to use that font. If you are not certain what this entails please read the [Prerequisites](#prerequisites).\n\nPlease note that there are problems for PuTTY\u002FKiTTY displaying 2 character wide icons which may be the case for the font you configured. To ensure only 1 character wide icons are used by your font, please select a font like [Hack Regular Nerd Font Complete Mono Windows Compatible](https:\u002F\u002Fgithub.com\u002Fryanoasis\u002Fnerd-fonts\u002Fblob\u002Fmaster\u002Fpatched-fonts\u002FHack\u002FRegular\u002Fcomplete\u002FHack%20Regular%20Nerd%20Font%20Complete%20Mono%20Windows%20Compatible.ttf) (see [this issue](https:\u002F\u002Fgithub.com\u002Flsd-rs\u002Flsd\u002Fissues\u002F331) for further details).\n\n### Why is the first character of a folder\u002Ffile getting trimmed?\n> [!NOTE]\n> **Workaround for [Konsole](https:\u002F\u002Fapps.kde.org\u002Fkonsole\u002F):** edit the config file (or create it if it doesn't already exist) and paste the following configuration directive into it.\n>\n>    ```yaml\n>    # CAREFUL: use copy-paste because this block contains invisible Unicode characters!\n>      icons:\n>        separator: \" ㅤ\"\n>    ```\n\nThis is a known issue in a few terminal emulators. Try using a different terminal emulator like [Alacritty](https:\u002F\u002Fgithub.com\u002Falacritty\u002Falacritty) or [Kitty](https:\u002F\u002Fgithub.com\u002Fkovidgoyal\u002Fkitty) and see if these suit your needs.\n\nYou might also want to check if your font is responsible for causing this. To verify this, try running lsd with icons disabled and if the first character is still being trimmed, you’ve discovered a bug in `lsd`. Until the bug is fixed you can use the following command as workaround:\n\n```sh\nlsd --icon never --ignore-config\n```\n\n### Why are there weird (UTF-8) characters in the output?\n`lsd` will always attempt to display the UTF-8 characters in file name, but a `U+FFFD REPLACEMENT CHARACTER`(�) is used to represent the invalid UTF-8 characters. If you are seeing this in your `lsd` output your filename contains an invalid UTF-8 character.\n\n### Why are the icons are showing up strangely?\nNerd Fonts is moving the code points of the Material Design Icons in version 3.0, so starting from #830 `lsd` is using an updated the icon set. If your icons look weird, use fonts that have been patched using [Nerd Fonts v2.3.0](https:\u002F\u002Fgithub.com\u002Fryanoasis\u002Fnerd-fonts\u002Freleases\u002Ftag\u002Fv2.3.3) or later.\n\n## Contributors\nEveryone can contribute to this project, improving the code or adding functions. If anyone wants something to be added we will try to do it.\n\nAs this is being updated regularly, don't forget to rebase your fork before creating a pull-request.\n\n## Credits\nSpecial thanks to:\n\n- [meain](https:\u002F\u002Fgithub.com\u002Fmeain) for all his contributions and reviews\n- [danieldulaney](https:\u002F\u002Fgithub.com\u002Fdanieldulaney) for the Windows integration\n- [sharkdp](https:\u002F\u002Fgithub.com\u002Fsharkdp) and his superb [fd](https:\u002F\u002Fgithub.com\u002Fsharkdp\u002Ffd) from which I have stolen a lot of CI stuff.\n- [athityakumar](https:\u002F\u002Fgithub.com\u002Fathityakumar) for the project [colorls](https:\u002F\u002Fgithub.com\u002Fathityakumar\u002Fcolorls)\n- [All the other contributors](https:\u002F\u002Fgithub.com\u002Flsd-rs\u002Flsd\u002Fgraphs\u002Fcontributors)\n","lsd 是一个增强版的 ls 命令行工具，用 Rust 语言编写。它提供了丰富的功能，如颜色高亮、图标显示、树状视图等，使文件和目录列表更加直观易读。此外，lsd 支持多种格式化选项，允许用户自定义输出样式以满足个性化需求。该项目特别适合需要频繁使用命令行界面进行文件管理的开发者或系统管理员，在提高工作效率的同时也能增加使用的愉悦感。对于希望改善终端体验且对美观有一定追求的技术人员来说，lsd 是一个不错的选择。",2,"2026-06-11 03:03:18","top_language"]