Code Monkey home page Code Monkey logo

irodolist's Introduction

irodolist

Irodolist manages LSCOLORS/LS_COLORS and zsh completion colors.
This project is an example project of kmhjs/zcl .

Usage

  1. Clone this project. (Or download irodolist and example config file)
  2. Clone kmhjs/zcl project. (Or download zcl file)
  3. Update your FPATH with path to irodolist and zcl file.
  4. Call autoload -Uz zcl and autoload -Uz irodolist in .zshrc etc.
  5. Configure your ls-colors.conf .
  6. Run irodolist as irodolist ls-colors.conf .

Example result

Following example result is for attached ls-colors.conf .

$ irodolist ls-colors.conf
LSCOLORS       : 'ExFxCxDxBxegedabagacad'
LS_COLORS      : 'di=01;34:ln=01;35:so=01;32:pi=01;33:ex=01;31:bd=00;34;46:cd=00;34;43:su=00;30;41:sg=00;30;46:tw=00;30;42:ow=00;30;43'
zsh completion : 'di=01;34' 'ln=01;35' 'so=01;32' 'pi=01;33' 'ex=01;31' 'bd=00;34;46' 'cd=00;34;43' 'su=00;30;41' 'sg=00;30;46' 'tw=00;30;42' 'ow=00;30;43'

Configuration format

Format

Predefined format is here.

(
  :target     ${target}
  :foreground ${color}
  :background ${color}
  :attribute  ${text_attribute}
)

For making configuration with this format, following predefined values can be used.

${target}

  • directory
  • symbolic_link
  • socket
  • pipe
  • executable
  • block_device
  • character_device
  • executable_setuid
  • executable_setgid
  • writable_directory_stickybit
  • writable_directory

${color}

  • black
  • red
  • green
  • yellow
  • blue
  • magenta
  • cyan
  • white

${text_attribute}

  • normal
  • bold

Example

(
  :target     directory
  :foreground blue
  :background default
  :attribute  bold
)
(
  :target     symbolic_link
  :foreground magenta
  :background default
  :attribute  bold
)
(
  :target     socket
  :foreground green
  :background default
  :attribute  bold
)

License

This project is distributed under MIT License. See LICENSE .

Misc

Currently, this project is under development.

irodolist's People

Contributors

kmhjs avatar

Watchers

 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.