Skip to content

wintermi/zsh-lsd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

zsh-lsd

A zsh plugin to override ls and tree commands with lsd instead.

Install

Using the ⚡ Zap minimal zsh plugin manager, add the following to your .zshrc

# Install plugin
plug "wintermi/zsh-lsd"

⚠️ Special Attention

If you are using zap-zsh/supercharge you need to load this plugin after superchage, otherwise this plugin won't work because supercharge defines the same ls alias (usefull to colorize ls output for who is not using lsd).

Simply put it after the supercharge declaration in your .zshrc like this:

# ...

plug "zap-zsh/supercharge"
plug "wintermi/zsh-lsd"

# ...

Usage

ls

The ls command will output directories first before the files with icons and colours.

image

ll

The ll command will output in list format, line by line, directories first before the files with details, icons and colours.

image

la

The la command will output the same as ll but including any hidden directories and files.

image

tree

Outputs the same as the regular UNIX tree command but done so using lsd, therefore including all of the extras lsd offers. By default, hidden directories and files are excluded, however they can be included by adding the -a flag.

⚠️ NOTE: It will recurse by default to a depth of 2. You can increase the recursion depth by adding the --depth <N> flag. But note doing so could create very long output.

image

License

The zsh-lsd plugin is released under the Apache License 2.0 unless explicitly mentioned in the file header.

About

A zsh plugin to override 'ls' and 'tree' commands with 'lsd' instead.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages