mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-28 20:34:07 +08:00
00e0ed64bc
Closes #1804. Note that if systemd is not running, the completion will fail.
6 lines
164 B
Fish
6 lines
164 B
Fish
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
|