fix(bash/zsh): different color for folder and configs files
This commit is contained in:
@@ -59,15 +59,15 @@ def build_ls_colors(colors: dict[str, str]) -> str:
|
||||
"su": sgr_fg(colors["error"], bold=True),
|
||||
"sg": sgr_fg(colors["escape"], bold=True),
|
||||
"ex": sgr_fg(colors["func"], bold=True),
|
||||
"*.tar": sgr_fg(colors["string"]),
|
||||
"*.tgz": sgr_fg(colors["string"]),
|
||||
"*.gz": sgr_fg(colors["string"]),
|
||||
"*.bz2": sgr_fg(colors["string"]),
|
||||
"*.xz": sgr_fg(colors["string"]),
|
||||
"*.zip": sgr_fg(colors["string"]),
|
||||
"*.7z": sgr_fg(colors["string"]),
|
||||
"*.zst": sgr_fg(colors["string"]),
|
||||
"*.rar": sgr_fg(colors["string"]),
|
||||
"*.tar": sgr_fg(colors["type_alt"]),
|
||||
"*.tgz": sgr_fg(colors["type_alt"]),
|
||||
"*.gz": sgr_fg(colors["type_alt"]),
|
||||
"*.bz2": sgr_fg(colors["type_alt"]),
|
||||
"*.xz": sgr_fg(colors["type_alt"]),
|
||||
"*.zip": sgr_fg(colors["type_alt"]),
|
||||
"*.7z": sgr_fg(colors["type_alt"]),
|
||||
"*.zst": sgr_fg(colors["type_alt"]),
|
||||
"*.rar": sgr_fg(colors["type_alt"]),
|
||||
"*.jpg": sgr_fg(colors["type"]),
|
||||
"*.jpeg": sgr_fg(colors["type"]),
|
||||
"*.png": sgr_fg(colors["type"]),
|
||||
@@ -84,12 +84,12 @@ def build_ls_colors(colors: dict[str, str]) -> str:
|
||||
"*.md": sgr_fg(colors["comment"]),
|
||||
"*.txt": sgr_fg(colors["comment"]),
|
||||
"*.log": sgr_fg(colors["comment"]),
|
||||
"*.conf": sgr_fg(colors["keyword"]),
|
||||
"*.json": sgr_fg(colors["keyword"]),
|
||||
"*.yaml": sgr_fg(colors["keyword"]),
|
||||
"*.yml": sgr_fg(colors["keyword"]),
|
||||
"*.toml": sgr_fg(colors["keyword"]),
|
||||
"*.ini": sgr_fg(colors["keyword"]),
|
||||
"*.conf": sgr_fg(colors["string"]),
|
||||
"*.json": sgr_fg(colors["string"]),
|
||||
"*.yaml": sgr_fg(colors["string"]),
|
||||
"*.yml": sgr_fg(colors["string"]),
|
||||
"*.toml": sgr_fg(colors["string"]),
|
||||
"*.ini": sgr_fg(colors["string"]),
|
||||
"*.sh": sgr_fg(colors["func"]),
|
||||
"*.bash": sgr_fg(colors["func"]),
|
||||
"*.zsh": sgr_fg(colors["func"]),
|
||||
|
||||
@@ -20,4 +20,4 @@ export RIDER_ESCAPE="#D688D4"
|
||||
export RIDER_ERROR="#FF5647"
|
||||
|
||||
# Shared Rider palette for GNU ls and compatible tools.
|
||||
export LS_COLORS="no=0:fi=0:di=1;38;2;108;149;235:ln=1;38;2;102;195;204:or=38;2;255;86;71:mi=0:so=38;2;102;195;204:pi=38;2;201;162;109:do=1;38;2;57;204;155:bd=38;2;237;148;192:cd=38;2;237;148;192:su=1;38;2;255;86;71:sg=1;38;2;214;136;212:ex=1;38;2;57;204;155:*.tar=38;2;201;162;109:*.tgz=38;2;201;162;109:*.gz=38;2;201;162;109:*.bz2=38;2;201;162;109:*.xz=38;2;201;162;109:*.zip=38;2;201;162;109:*.7z=38;2;201;162;109:*.zst=38;2;201;162;109:*.rar=38;2;201;162;109:*.jpg=38;2;193;145;255:*.jpeg=38;2;193;145;255:*.png=38;2;193;145;255:*.gif=38;2;193;145;255:*.svg=38;2;193;145;255:*.webp=38;2;193;145;255:*.mp3=38;2;193;145;255:*.flac=38;2;193;145;255:*.wav=38;2;193;145;255:*.mp4=38;2;193;145;255:*.mkv=38;2;193;145;255:*.mov=38;2;193;145;255:*.pdf=38;2;133;196;108:*.md=38;2;133;196;108:*.txt=38;2;133;196;108:*.log=38;2;133;196;108:*.conf=38;2;108;149;235:*.json=38;2;108;149;235:*.yaml=38;2;108;149;235:*.yml=38;2;108;149;235:*.toml=38;2;108;149;235:*.ini=38;2;108;149;235:*.sh=38;2;57;204;155:*.bash=38;2;57;204;155:*.zsh=38;2;57;204;155:*.py=38;2;102;195;204:*.js=38;2;102;195;204:*.ts=38;2;102;195;204:*.tsx=38;2;102;195;204:*.jsx=38;2;102;195;204:*.lua=38;2;102;195;204:*.rs=38;2;102;195;204:*.go=38;2;102;195;204:*.c=38;2;102;195;204:*.h=38;2;102;195;204:*.cpp=38;2;102;195;204:*.hpp=38;2;102;195;204:*.cs=38;2;102;195;204"
|
||||
export LS_COLORS="no=0:fi=0:di=1;38;2;108;149;235:ln=1;38;2;102;195;204:or=38;2;255;86;71:mi=0:so=38;2;102;195;204:pi=38;2;201;162;109:do=1;38;2;57;204;155:bd=38;2;237;148;192:cd=38;2;237;148;192:su=1;38;2;255;86;71:sg=1;38;2;214;136;212:ex=1;38;2;57;204;155:*.tar=38;2;225;191;255:*.tgz=38;2;225;191;255:*.gz=38;2;225;191;255:*.bz2=38;2;225;191;255:*.xz=38;2;225;191;255:*.zip=38;2;225;191;255:*.7z=38;2;225;191;255:*.zst=38;2;225;191;255:*.rar=38;2;225;191;255:*.jpg=38;2;193;145;255:*.jpeg=38;2;193;145;255:*.png=38;2;193;145;255:*.gif=38;2;193;145;255:*.svg=38;2;193;145;255:*.webp=38;2;193;145;255:*.mp3=38;2;193;145;255:*.flac=38;2;193;145;255:*.wav=38;2;193;145;255:*.mp4=38;2;193;145;255:*.mkv=38;2;193;145;255:*.mov=38;2;193;145;255:*.pdf=38;2;133;196;108:*.md=38;2;133;196;108:*.txt=38;2;133;196;108:*.log=38;2;133;196;108:*.conf=38;2;201;162;109:*.json=38;2;201;162;109:*.yaml=38;2;201;162;109:*.yml=38;2;201;162;109:*.toml=38;2;201;162;109:*.ini=38;2;201;162;109:*.sh=38;2;57;204;155:*.bash=38;2;57;204;155:*.zsh=38;2;57;204;155:*.py=38;2;102;195;204:*.js=38;2;102;195;204:*.ts=38;2;102;195;204:*.tsx=38;2;102;195;204:*.jsx=38;2;102;195;204:*.lua=38;2;102;195;204:*.rs=38;2;102;195;204:*.go=38;2;102;195;204:*.c=38;2;102;195;204:*.h=38;2;102;195;204:*.cpp=38;2;102;195;204:*.hpp=38;2;102;195;204:*.cs=38;2;102;195;204"
|
||||
|
||||
Reference in New Issue
Block a user