aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/functions.fish
diff options
context:
space:
mode:
Diffstat (limited to 'share/completions/functions.fish')
-rw-r--r--share/completions/functions.fish6
1 files changed, 6 insertions, 0 deletions
diff --git a/share/completions/functions.fish b/share/completions/functions.fish
new file mode 100644
index 00000000..3095c4bf
--- /dev/null
+++ b/share/completions/functions.fish
@@ -0,0 +1,6 @@
+complete -c functions -s e -l erase -d (_ "Erase function") -x -a "(functions -n)"
+complete -c functions -xa "(functions -na)" -d (_ "Function")
+complete -c functions -s a -l all -d (_ "Show hidden functions")
+complete -c functions -s h -l help -d (_ "Display help and exit")
+complete -c functions -s d -l description -d (_ "Set function description") -x
+