zsh plugin to automatically ls
using colorls on cd
OS/Distro | Command |
---|---|
Archlinux | pacman -S lsd |
Fedora | dnf install lsd |
Gentoo | sudo emerge sys-apps/lsd |
macOS | brew install lsd or sudo port install lsd |
NixOS | nix-env -iA nixos.lsd |
FreeBSD | pkg install lsd |
NetBSD or any pkgsrc platform |
pkgin install lsd or cd /usr/pkgsrc/sysutils/lsd && make install |
Windows | scoop install lsd |
Android (via Termux) | pkg install lsd |
Ubuntu/Debian based distro | sudo dpkg -i lsd_0.22.0_amd64.deb get .deb file from release page |
Solus | eopkg it lsd |
With Rust's package manager cargo, you can install lsd via:
cargo install lsd
If you want to install the latest master branch commit:
cargo install --git https://github.com/Peltoche/lsd.git --branch master
The release page includes precompiled binaries for Linux, macOS and Windows for every release. You can also get the latest binary of master
branch from the Github action build artifacts (choose the top action and scroll down to the artifacts section).
Run
( cd $ZSH_CUSTOM/plugins && git clone https://github.com/BelArvardan/auto-lsd )
Then add auto-lsd
to plugins=()
in your .zshrc