aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_complete_service_actions.fish
diff options
context:
space:
mode:
Diffstat (limited to 'share/functions/__fish_complete_service_actions.fish')
-rw-r--r--share/functions/__fish_complete_service_actions.fish7
1 files changed, 7 insertions, 0 deletions
diff --git a/share/functions/__fish_complete_service_actions.fish b/share/functions/__fish_complete_service_actions.fish
new file mode 100644
index 00000000..ab91f786
--- /dev/null
+++ b/share/functions/__fish_complete_service_actions.fish
@@ -0,0 +1,7 @@
+function __fish_complete_service_actions -d "Print a list of all basic service \
+ actions"
+ set -l actions start 'Start the service'
+ set -l actions $actions stop 'Stop the service'
+ set -l actions $actions restart 'Restart the service'
+ printf "%s\t%s\n" $actions
+end