mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
00e0ed64bc
Closes #1804. Note that if systemd is not running, the completion will fail.
5 lines
158 B
Fish
5 lines
158 B
Fish
function __fish_systemctl_mounts
|
|
if type -q systemctl
|
|
systemctl list-unit-files --no-legend --type=mount ^/dev/null | cut -f 1 -d ' '
|
|
end
|
|
end
|