Files
fish-shell/share/functions/__fish_systemd_machines.fish
Johannes Altmanninger a53db72564 Mark private functions that don't need localization
See the next commit.

Part of #11833
2025-09-30 11:47:26 +02:00

12 lines
339 B
Fish

# localization: skip(private)
#
# It seems machinectl will eliminate spaces from machine names so we don't need to handle that
function __fish_systemd_machines
# We don't want to complete with ANSI color codes
set -lu SYSTEMD_COLORS
machinectl --no-legend --no-pager list --all | while read -l a b
echo $a
end
end