mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-05 02:58:39 +08:00

The output of systemctl list-units seems to include a marker of '●' or '*' for some units, even if the output is not going to a terminal and "--no-legend" and "--no-pager" are given. This appears to be a recent development, and there does not appear to be a flag to disable it. So we simply filter it out in the completions to once again hopefully offer the actual units. Fixes #6740