fish-shell/share/functions/__fish_print_debian_services.fish
terceiro c08c313c0a adds completion for Debian's invoke-rc.d command
Ignore-this: f9ff385e3c239cedfbc9850b06822bba

darcs-hash:20090204191757-69c1e-a55c2a720fd784c7be2534feacecd5e2ebdbeecd.gz
2009-02-05 05:17:57 +10:00

7 lines
176 B
Fish

function __fish_print_debian_services --description 'Prints services installed'
for service in /etc/init.d/*
if [ -x $service ]
basename $service
end
end
end