diff options
Diffstat (limited to 'share/functions/__fish_print_debian_services.fish')
-rw-r--r-- | share/functions/__fish_print_debian_services.fish | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/share/functions/__fish_print_debian_services.fish b/share/functions/__fish_print_debian_services.fish new file mode 100644 index 00000000..378e6e39 --- /dev/null +++ b/share/functions/__fish_print_debian_services.fish @@ -0,0 +1,7 @@ +function __fish_print_debian_services --description 'Prints services installed' + for service in /etc/init.d/* + if [ -x $service ] + basename $service + end + end +end |