about summary refs log tree commit diff
path: root/fish/completions/xgrep.fish
diff options
context:
space:
mode:
Diffstat (limited to 'fish/completions/xgrep.fish')
-rw-r--r--fish/completions/xgrep.fish2
1 files changed, 2 insertions, 0 deletions
diff --git a/fish/completions/xgrep.fish b/fish/completions/xgrep.fish
new file mode 100644
index 0000000..c7a329e
--- /dev/null
+++ b/fish/completions/xgrep.fish
@@ -0,0 +1,2 @@
+complete -c xgrep -f
+complete -c xgrep -n '[ (count (commandline -poc)) -gt 1 ]' -a '(__fish_print_xbps_packages -i)'