Git Product home page Git Product logo

zsh-lsd's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.