about summary refs log tree commit diff
path: root/fish/completions/xrecent.fish
diff options
context:
space:
mode:
authortriallax <triallax@tutanota.com>2023-09-20 19:54:16 +0100
committerLeah Neukirchen <leah@vuxu.org>2023-10-22 01:28:11 +0200
commit87845f52f18e1dedc963f1c7a86b33f3248d21fe (patch)
tree0f1a5cccff4b706bb05fe25a9a125d297305b9d5 /fish/completions/xrecent.fish
parenta3742437505609e847ba7e59c60ea395e708e729 (diff)
downloadxtools-87845f52f18e1dedc963f1c7a86b33f3248d21fe.tar.gz
xtools-87845f52f18e1dedc963f1c7a86b33f3248d21fe.tar.xz
xtools-87845f52f18e1dedc963f1c7a86b33f3248d21fe.zip
completions: add fish completions.
Diffstat (limited to 'fish/completions/xrecent.fish')
-rw-r--r--fish/completions/xrecent.fish2
1 files changed, 2 insertions, 0 deletions
diff --git a/fish/completions/xrecent.fish b/fish/completions/xrecent.fish
new file mode 100644
index 0000000..0b9e3c1
--- /dev/null
+++ b/fish/completions/xrecent.fish
@@ -0,0 +1,2 @@
+complete -c xrecent -f
+complete -c xrecent -n '[ (count (commandline -poc)) -eq 1 ]' -xa '(__xtools_complete_repo_urls; __xtools_complete_archs)'