aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_number_of_cmd_args_wo_opts.fish
diff options
context:
space:
mode:
authorGravatar Jelte Fennema <jelte12345@gmail.com>2013-11-19 19:45:21 +0100
committerGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2013-11-27 18:36:05 +0800
commit44d13869ad21132796f3cf55e4b8ed3fd32cac97 (patch)
treec655a99042c9cdc59cddda0518e80ee6b905c6f5 /share/functions/__fish_number_of_cmd_args_wo_opts.fish
parent9862eb930d941a6fb93471bbb8e125076e95103a (diff)
Add eselect, rc-update and rc-service completions. (These are utilities used by Gentoo Linux)
Disable php completion for the 4th part of the command, since php-eselect is differently designed and causes errors Closes #1131.
Diffstat (limited to 'share/functions/__fish_number_of_cmd_args_wo_opts.fish')
-rw-r--r--share/functions/__fish_number_of_cmd_args_wo_opts.fish4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/functions/__fish_number_of_cmd_args_wo_opts.fish b/share/functions/__fish_number_of_cmd_args_wo_opts.fish
new file mode 100644
index 00000000..83e3d2fa
--- /dev/null
+++ b/share/functions/__fish_number_of_cmd_args_wo_opts.fish
@@ -0,0 +1,4 @@
+function __fish_number_of_cmd_args_wo_opts
+ count (__fish_print_cmd_args_without_options)
+end
+