Git Product home page Git Product logo

ls's Introduction

Ls

screenshot

Zsh plugin for ls. It improves the output of ls, and adds the following aliases:

  • l - show files
  • ls - show files
  • la - show all files
  • ll - show files line by line

This plugin supports lsd, exa/eza and GNU ls backends.

You can change ls backend using ZSH_LS_BACKEND variable, set it to lsd, exa or ls. If no ZSH_LS_BACKEND is defined as environment variable then backend will be selected automatically: lsd, or eza/exa, or ls

You can disable git integration in eza/exa using this:

export ZSH_LS_DISABLE_GIT=true

Note

For a better view, use a theme for dircolors, for example dircolors-material

How to install

Add the following to your .zshrc file somewhere after you source zpm.

zpm load zpm-zsh/ls
  • Download the script or clone this repository in oh-my-zsh plugins directory:
cd ~/.oh-my-zsh/custom/plugins
git clone https://github.com/zpm-zsh/ls.git
  • Activate the plugin in ~/.zshrc:
plugins=( [plugins...] ls [plugins...])
  • Restart shell

Add antigen bundle zpm-zsh/ls to your .zshrc where you're adding your other plugins. Antigen will clone the plugin for you and add it to your antigen setup the next time you start a new shell.

Add zinit load zpm-zsh/ls to your .zshrc, and Zinit will automatically handle cloning the plugin for you the next time you start zsh.

For most people the easiest way to use zshmarks with prezto is to manually clone the zshmarks repo to a directory of your choice (e.g. /usr/local or ~/bin) and symlink the zshmarks folder into your zpretzo/modules folder:

ln -s ~/bin/ls ~/.zprezto/modules/ls

Alternatively, you can add the zshmarks repository as a submodule to your prezto repo by manually editing the '.gitmodules' file:

[submodule "modules/ls"]
        path = modules/ls
        url = https://github.com/zpm-zsh/ls.git

Then make sure you activate the plugin in your .zpreztorc file:

zstyle ':prezto:load' pmodule ls

Add the following to your .zshrc file somewhere after you source zplug.

zplug "zpm-zsh/ls"

ls's People

Contributors

grigorii-horos avatar baksili avatar a5ob7r avatar stealthii avatar ursm avatar muniftanjim avatar onnga-wasabi avatar

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.