Irodolist manages LSCOLORS/LS_COLORS and zsh completion colors.
This project is an example project of kmhjs/zcl .
- Clone this project. (Or download
irodolist
and exampleconfig
file) - Clone kmhjs/zcl project. (Or download
zcl
file) - Update your
FPATH
with path toirodolist
andzcl
file. - Call
autoload -Uz zcl
andautoload -Uz irodolist
in.zshrc
etc. - Configure your
ls-colors.conf
. - Run irodolist as
irodolist ls-colors.conf
.
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'
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
(
: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
)
This project is distributed under MIT License. See LICENSE
.
Currently, this project is under development.