diff --git a/news/target-color.rst b/news/target-color.rst
new file mode 100644
index 00000000..61f37ea8
--- /dev/null
+++ b/news/target-color.rst
@@ -0,0 +1,25 @@
+**Added:**
+
+* <news item>
+
+**Changed:**
+
+* <news item>
+
+**Deprecated:**
+
+* <news item>
+
+**Removed:**
+
+* <news item>
+
+**Fixed:**
+
+* Implemented ``'target'`` psuedo-color in ``$LS_COLORS`` for link coloring based
+  off of the link target. This was causing issues on some systems where this is
+  the default.
+
+**Security:**
+
+* <news item>
diff --git a/xonsh/environ.py b/xonsh/environ.py
index 305f585c..8bc1131e 100644
--- a/xonsh/environ.py
+++ b/xonsh/environ.py
@@ -184,7 +184,8 @@ def to_debug(x):
 
 class LsColors(cabc.MutableMapping):
     """Helps convert to/from $LS_COLORS format, respecting the xonsh color style.
-    This accepts the same inputs as dict().
+    This accepts the same inputs as dict(). The link ``target`` is represented
+    by the special ``"TARGET"`` color.
     """
 
     default_settings = {
@@ -368,7 +369,12 @@ class LsColors(cabc.MutableMapping):
                     key
                     + "="
                     + ";".join(
-                        [ansi_color_name_to_escape_code(v, cmap=style) for v in val]
+                        [
+                            "target"
+                            if v == "TARGET"
+                            else ansi_color_name_to_escape_code(v, cmap=style)
+                            for v in val
+                        ]
                     )
                     for key, val in sorted(self._d.items())
                 ]
@@ -408,10 +414,13 @@ class LsColors(cabc.MutableMapping):
             key, eq, esc = item.partition("=")
             if not eq:
                 # not a valid item
-                continue
-            data[key] = ansi_color_escape_code_to_name(
-                esc, "default", reversed_style=reversed_default
-            )
+                pass
+            elif esc == "target":
+                data[key] = ("TARGET",)
+            else:
+                data[key] = ansi_color_escape_code_to_name(
+                    esc, "default", reversed_style=reversed_default
+                )
         obj._d = data
         return obj
 

"Invalid ANSI color sequence" warning on startup
`xonfig` output:
```
$ xonfig
+------------------+-----------------+
| xonsh            | 0.9.9           |
| Python           | 3.7.4           |
| PLY              | 3.11            |
| have readline    | True            |
| prompt toolkit   | 2.0.9           |
| shell type       | prompt_toolkit2 |
| pygments         | 2.4.2           |
| on posix         | True            |
| on linux         | False           |
| on darwin        | True            |
| on windows       | False           |
| on cygwin        | False           |
| on msys2         | False           |
| is superuser     | False           |
| default encoding | utf-8           |
| xonsh encoding   | utf-8           |
| encoding errors  | surrogateescape |
+------------------+-----------------+
```

Giving xonsh another try, looks like there are still `LS_COLORS` issues. Here's what I get on startup:

```
$ xonsh
/usr/local/Cellar/xonsh/0.9.9/libexec/lib/python3.7/site-packages/xonsh/__amalgam__.py:7117: RuntimeWarning: Invalid ANSI color sequence "target", using "NO_COLOR" instead.
  warnings.warn(msg, RuntimeWarning)
```

I gave my LS_COLORS values [last time this came up](https://github.com/xonsh/xonsh/issues/3034). Please let me know if I can do anything to help diagnose. Thanks.
diff --git a/tests/test_environ.py b/tests/test_environ.py
index 5ba7d201..88b09992 100644
--- a/tests/test_environ.py
+++ b/tests/test_environ.py
@@ -19,6 +19,7 @@ from xonsh.environ import (
     DEFAULT_VALUES,
     default_env,
     make_args_env,
+    LsColors,
 )
 
 from tools import skip_if_on_unix
@@ -292,3 +293,9 @@ def test_delitem_default():
     assert env[a_key] == a_value
     del env[a_key]
     assert env[a_key] == a_value
+
+
+def test_lscolors_target():
+    lsc = LsColors.fromstring("ln=target")
+    assert lsc["ln"] == ("TARGET",)
+    assert lsc.detype() == "ln=target"

pip install -e .[ptk,pygments,proctitle,linux,mac,win]
parse_log_pytest
requirements.txt
pytest pytest-flake8 pytest-cov
3.7
requirements/docs.txt requirements/tests.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
alabaster==0.7.13
Babel==2.14.0
black==23.3.0
certifi @ file:///croot/certifi_1671487769961/work/certifi
cffi==1.15.1
cfgv==3.3.1
charset-normalizer==3.4.1
click==8.1.8
cloud-sptheme==1.10.1.post20200504175005
codecov==2.1.13
coverage==7.2.7
cryptography==44.0.2
cycler==0.11.0
distlib==0.3.9
distro==1.9.0
doctr==1.9.0
docutils==0.19
exceptiongroup==1.2.2
filelock==3.12.2
flake8==3.9.2
fonttools==4.38.0
gnureadline==8.2.13
identify==2.5.24
idna==3.10
imagesize==1.4.1
importlib-metadata==6.7.0
iniconfig==2.0.0
Jinja2==3.1.6
kiwisolver==1.4.5
MarkupSafe==2.1.5
matplotlib==3.5.3
mccabe==0.6.1
mypy-extensions==1.0.0
nodeenv==1.9.1
numpy==1.21.6
numpydoc==1.5.0
packaging==24.0
pathspec==0.11.2
Pillow==9.5.0
platformdirs==4.0.0
pluggy==1.2.0
pre-commit==2.21.0
prompt_toolkit==3.0.48
psutil==7.0.0
py==1.11.0
pycodestyle==2.7.0
pycparser==2.21
pyflakes==2.3.1
Pygments==2.17.2
pyparsing==3.1.4
pytest==7.4.4
pytest-cov==4.1.0
pytest-flake8==1.1.0
pytest-timeout==2.3.1
python-dateutil==2.9.0.post0
pytz==2025.2
PyYAML==6.0.1
pyzmq==26.2.1
requests==2.31.0
setproctitle==1.3.3
six==1.17.0
snowballstemmer==2.2.0
Sphinx==5.3.0
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
tomli==2.0.1
tornado==6.2
typed-ast==1.5.5
typing_extensions==4.7.1
urllib3==2.0.7
virtualenv==20.26.6
wcwidth==0.2.13
win-unicode-console==0.5
-e git+https://github.com/xonsh/xonsh.git@aae977c407760128d95385f75e02d02b87267e91#egg=xonsh
zipp==3.15.0

name: xonsh
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2022.12.7=py37h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=22.3.1=py37h06a4308_0
  - python=3.7.16=h7a1cb2a_0
  - readline=8.2=h5eee18b_0
  - setuptools=65.6.3=py37h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.38.4=py37h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - alabaster==0.7.13
      - babel==2.14.0
      - black==23.3.0
      - cffi==1.15.1
      - cfgv==3.3.1
      - charset-normalizer==3.4.1
      - click==8.1.8
      - cloud-sptheme==1.10.1.post20200504175005
      - codecov==2.1.13
      - coverage==7.2.7
      - cryptography==44.0.2
      - cycler==0.11.0
      - distlib==0.3.9
      - distro==1.9.0
      - doctr==1.9.0
      - docutils==0.19
      - exceptiongroup==1.2.2
      - filelock==3.12.2
      - flake8==3.9.2
      - fonttools==4.38.0
      - gnureadline==8.2.13
      - identify==2.5.24
      - idna==3.10
      - imagesize==1.4.1
      - importlib-metadata==6.7.0
      - iniconfig==2.0.0
      - jinja2==3.1.6
      - kiwisolver==1.4.5
      - markupsafe==2.1.5
      - matplotlib==3.5.3
      - mccabe==0.6.1
      - mypy-extensions==1.0.0
      - nodeenv==1.9.1
      - numpy==1.21.6
      - numpydoc==1.5.0
      - packaging==24.0
      - pathspec==0.11.2
      - pillow==9.5.0
      - platformdirs==4.0.0
      - pluggy==1.2.0
      - pre-commit==2.21.0
      - prompt-toolkit==3.0.48
      - psutil==7.0.0
      - py==1.11.0
      - pycodestyle==2.7.0
      - pycparser==2.21
      - pyflakes==2.3.1
      - pygments==2.17.2
      - pyparsing==3.1.4
      - pytest==7.4.4
      - pytest-cov==4.1.0
      - pytest-flake8==1.1.0
      - pytest-timeout==2.3.1
      - python-dateutil==2.9.0.post0
      - pytz==2025.2
      - pyyaml==6.0.1
      - pyzmq==26.2.1
      - requests==2.31.0
      - setproctitle==1.3.3
      - six==1.17.0
      - snowballstemmer==2.2.0
      - sphinx==5.3.0
      - sphinxcontrib-applehelp==1.0.2
      - sphinxcontrib-devhelp==1.0.2
      - sphinxcontrib-htmlhelp==2.0.0
      - sphinxcontrib-jsmath==1.0.1
      - sphinxcontrib-qthelp==1.0.3
      - sphinxcontrib-serializinghtml==1.1.5
      - tomli==2.0.1
      - tornado==6.2
      - typed-ast==1.5.5
      - typing-extensions==4.7.1
      - urllib3==2.0.7
      - virtualenv==20.26.6
      - wcwidth==0.2.13
      - win-unicode-console==0.5
      - zipp==3.15.0
prefix: /opt/conda/envs/xonsh

tests/test_environ.py::test_lscolors_target
tests/test_environ.py::test_env_normal tests/test_environ.py::test_env_contains tests/test_environ.py::test_env_path_list[path0] tests/test_environ.py::test_env_path_list[path1] tests/test_environ.py::test_env_path_str[path0] tests/test_environ.py::test_env_path_str[path1] tests/test_environ.py::test_env_detype tests/test_environ.py::test_env_detype_mutable_access_clear[path10-/home/woah] tests/test_environ.py::test_env_detype_mutable_access_clear[path11-woah] tests/test_environ.py::test_env_detype_no_dict tests/test_environ.py::test_histcontrol_none tests/test_environ.py::test_HISTCONTROL_empty tests/test_environ.py::test_histcontrol_ignoredups tests/test_environ.py::test_histcontrol_ignoreerr_ignoredups tests/test_environ.py::test_swap tests/test_environ.py::test_swap_exception_replacement tests/test_environ.py::test_event_on_envvar_change tests/test_environ.py::test_event_on_envvar_new tests/test_environ.py::test_event_on_envvar_change_from_none_value tests/test_environ.py::test_event_on_envvar_change_no_fire_when_value_is_same[1] tests/test_environ.py::test_event_on_envvar_change_no_fire_when_value_is_same[None] tests/test_environ.py::test_event_on_envvar_change_no_fire_when_value_is_same[True] tests/test_environ.py::test_event_on_envvar_change_no_fire_when_value_is_same[ok] tests/test_environ.py::test_events_on_envvar_called_in_right_order tests/test_environ.py::test_int_bool_envvars_have_ensurers tests/test_environ.py::test_no_lines_columns tests/test_environ.py::test_make_args_env tests/test_environ.py::test_delitem tests/test_environ.py::test_delitem_default
xonsh/environ.py news/target-color.rst
xonsh/environ.py news/target-color.rst