Skip to content

Error when wanted to replace actual dircolors #4

@stevleibelt

Description

@stevleibelt
# ...
A dircolors already exists in /home/nvb/.dir_colors, but can be incompatible with the solarized color scheme causing some colors problems when doing a "ls".

1) Replace the actual dircolors by seebi' dircolors-solarized: https://github.com/seebi/dircolors-solarized (the actual dircolors will be keeped as backup).

2) [DEFAULT] I am awared about this potentiall problem and will check my dircolors (default path: ~/.dir_colors/dircolors) in case of conflict.

Enter your choice : [2] 1

--2023-06-04 21:41:06--  https://raw.github.com/seebi/dircolors-solarized/master//dircolors.ansi-zenburn
CA-Zertifikat »/etc/ssl/certs/ca-certificates.crt« wurde geladen
Auflösen des Hostnamens raw.github.com (raw.github.com)… 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Verbindungsaufbau zu raw.github.com (raw.github.com)|185.199.108.133|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 301 Moved Permanently
Platz: https://raw.githubusercontent.com/seebi/dircolors-solarized/master//dircolors.ansi-zenburn [folgend]
--2023-06-04 21:41:07--  https://raw.githubusercontent.com/seebi/dircolors-solarized/master//dircolors.ansi-zenburn
Auflösen des Hostnamens raw.githubusercontent.com (raw.githubusercontent.com)… 185.199.108.133, 185.199.110.133, 185.199.109.133, ...
Verbindungsaufbau zu raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 301 Moved Permanently
Platz: /seebi/dircolors-solarized/master/dircolors.ansi-zenburn [folgend]
--2023-06-04 21:41:07--  https://raw.githubusercontent.com/seebi/dircolors-solarized/master/dircolors.ansi-zenburn
Wiederverwendung der bestehenden Verbindung zu raw.githubusercontent.com:443.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 404 Not Found
2023-06-04 21:41:07 FEHLER 404: Not Found.

Download failed, dircolors will not be copied but you 
can install it from the official repository : https://github.com/seebi/dircolors-solarized
/home/nvb/.dir_colors/dircolors already exists, renaming it to /home/nvb/.dir_colors/dircolors.old

The new dircolors have been installed as /home/nvb/.dir_colors/dircolors.

Add "eval `dircolors /path/to/dircolorsdb`" in your shell configuration file (.bashrc, .zshrc, etc...) to use new dircolors.
For Fish, add the following to config.fish instead:
	eval (dircolors /path/to/dircolorsdb | head -n 1 | sed 's/^LS_COLORS=/set -x LS_COLORS /;s/;$//')

Do not forget to remove old dircolors from your shell configuration file if they were named differently than the one newly installed.

If there is any problem with the colors when doing a "ls", please check your dircolors.

At the end, the install.sh need to use a different dircolors link or your should remove this.

Thanks so for far for your script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions