summaryrefslogtreecommitdiff
path: root/community-testing/zathura/bash-completion
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/zathura/bash-completion')
-rw-r--r--community-testing/zathura/bash-completion29
1 files changed, 0 insertions, 29 deletions
diff --git a/community-testing/zathura/bash-completion b/community-testing/zathura/bash-completion
deleted file mode 100644
index 41c3825b6..000000000
--- a/community-testing/zathura/bash-completion
+++ /dev/null
@@ -1,29 +0,0 @@
-_zathura() {
- _init_completion || return
-
- EXTENTIONS=''
- for PLUGIN in /usr/lib/zathura/*.so; do
- case ${PLUGIN##*/} in
- pdf.so)
- EXTENTIONS="$EXTENTIONS|pdf"
- ;;
- ps.so)
- EXTENTIONS="$EXTENTIONS|ps|eps|epsi|epsf"
- ;;
- djvu.so)
- EXTENTIONS="$EXTENTIONS|djvu|djv"
- ;;
- epub.so)
- EXTENTIONS="$EXTENTIONS|epub"
- ;;
- cb.so)
- EXTENTIONS="$EXTENTIONS|cb7|cbr|cbz|cbt|rar|zip|7z|tar"
- ;;
- *)
- ;;
- esac
- done
-
- _filedir "${EXTENTIONS#|}"
-} &&
-complete -F _zathura zathura