fish-shell/share/functions/__fish_systemctl_service_paths.fish

6 lines
164 B
Fish
Raw Normal View History

function __fish_systemctl_service_paths
if type -q systemctl
systemctl list-unit-files --no-legend --type=path ^/dev/null | cut -f 1 -d ' '
end
end