$OpenBSD: patch-share_completions_rcctl_fish,v 1.1.1.1 2017/12/16 05:14:32 abieber Exp $

This can be removed when 3.0 is released:
https://github.com/fish-shell/fish-shell/pull/4584/

Index: share/completions/rcctl.fish
--- share/completions/rcctl.fish.orig
+++ share/completions/rcctl.fish
@@ -0,0 +1,3 @@
+
+complete -c rcctl -xa 'check ls reload restart stop start disable enable' -n 'not __fish_seen_subcommand_from list check ls reload restart stop start enable disable'
+complete -c rcctl -n '__fish_seen_subcommand_from check reload restart stop start enable disable' -xa '(set -l files /etc/rc.d/*; string replace "/etc/rc.d/" "" -- $files)'
