mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-27 02:22:29 +08:00
6 lines
162 B
Fish
6 lines
162 B
Fish
function __fish_systemctl_services
|
|
if type -q systemctl
|
|
systemctl list-unit-files --no-legend --type=service ^/dev/null | cut -f 1 -d ' '
|
|
end
|
|
end
|