dotfiles

<-- duh.
Log | Files | Refs | LICENSE

commit 3519c6b9df221704f24eadaf98acc69af61ea4f3
parent d9cae6a57fe2a35ef3bfbd19852d33c5178a8e22
Author: hhvn <dev@hhvn.uk>
Date:   Wed,  5 Jan 2022 13:28:02 +0000

.c/k/ls .rcrc .c/ls: shared LS_COLORs

Diffstat:
M.config/ksh/ls | 70+---------------------------------------------------------------------
A.config/ls | 35+++++++++++++++++++++++++++++++++++
M.rcrc | 1+
3 files changed, 37 insertions(+), 69 deletions(-)

diff --git a/.config/ksh/ls b/.config/ksh/ls @@ -1,71 +1,3 @@ #!/bin/ksh -export LS_COLORS="$(echo 'di=35 -fi=0 -ln=33 -ex=91;01 -*.sh=91 -*.zsh=91 -*.hex=91 -*.html=97 -*.css=97 -*.md=97 -*.conf=92 -*.vim=92 -*.yml=92 -*.c=94 -*.h=94 -*.h.orig=94;01 -*.h.rej=94;01 -*.o=02 -*.1=97 -*.2=97 -*.3=97 -*.4=97 -*.5=97 -*.6=97 -*.7=97 -*.8=97 -*.9=97 -*.0=97 -*.1p=97 -*.2p=97 -*.3p=97 -*.4p=97 -*.5p=97 -*.6p=97 -*.7p=97 -*.8p=97 -*.9p=97 -*.0p=97 -*FAQ=97 -*MODIFIED=97 -*DESIGN=97 -*README=97 -*TODO=97 -*LICENSE=90 -*Makefile=90 -*.mk=90 -*make.sh=90 -*configure=90 -*configure.sh=90 -*autogen.sh=90 -*.c.orig=94;01 -*.c.rej=94;01 -*.xcf=95 -*.png=95 -*.jpeg=95 -*.jpg=95 -*.heic=95 -*.heif=95 -*.mp3=95;01 -*.opus=95;01 -*.ogg=95;01 -*.flac=95;01 -*.wav=95;01 -*.m4a=95;04 -*.avi=95;04 -*.mp4=95;04 -*.mkv=95;04 -*.ogv=95;04 -*.webm=95;04' | tr '\n' ':')" +export LS_COLORS=$(tr -d ' ' <$HOME/.config/ls | tr '\n' ':' | tr -s ':') diff --git a/.config/ls b/.config/ls @@ -0,0 +1,35 @@ +di=35 : fi=0 : ln=33 : ex=91;01 + +*.sh=91 : *.zsh=91 : *.rc=91 +*.html=97 : *.css=97 : *.md=97 +*.conf=92 : *.vim=92 : *.yml=92 + +*.c=94 : *.h=94 +*.c.orig=94;01 : *.c.rej=94;01 +*.h.orig=94;01 : *.h.rej=94;01 +*.o=02 + +*.1=97 : *.2=97 : *.3=97 : *.4=97 : *.5=97 +*.6=97 : *.7=97 : *.8=97 : *.9=97 : *.0=97 +*.1p=97 : *.2p=97 : *.3p=97 : *.4p=97 : *.5p=97 +*.6p=97 : *.7p=97 : *.8p=97 : *.9p=97 : *.0p=97 + +*FAQ=97 +*MODIFIED=97 +*DESIGN=97 +*README=97 +*TODO=97 + +*LICENSE=90 +*Makefile=90 : *mkfile=90 +*make.sh=90 : *.mk=90 + +*configure=90 : *autogen.sh=90 +*configure.sh=90 : *configure.rc=90 + +*.xcf=95 : *.png=95 : *.bmp=95 : *.jpeg=95 +*.jpg=95 : *.heic=95 : *.heif=95 + +*.mp3=95;01 : *.opus=95;01 : *.ogg=95;01 : *.flac=95;01 +*.wav=95;01 : *.m4a=95;04 : *.avi=95;04 +*.mp4=95;04 : *.mkv=95;04 : *.ogv=95;04 : *.webm=95;04 diff --git a/.rcrc b/.rcrc @@ -189,3 +189,4 @@ LESSHISTFILE = - GNUPGHOME = $home/.local/gnupg IPFS_PATH = $home/.local/ipfs CURLHOME = $home/.config/curl/" +LS_COLORS = `''{<$home/.config/ls tr -d ' ' | tr '\n' ':' | tr -s ':'}