From f4bb0c06d609e356358e5b7c1b65a6a9d7e3ad72 Mon Sep 17 00:00:00 2001 From: tmerse Date: Mon, 25 Apr 2016 15:30:00 +0200 Subject: [PATCH] Add plugin: dasht (issue: 5040) --- plugins/dasht/_dasht | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 plugins/dasht/_dasht diff --git a/plugins/dasht/_dasht b/plugins/dasht/_dasht new file mode 100644 index 00000000..f174410b --- /dev/null +++ b/plugins/dasht/_dasht @@ -0,0 +1,14 @@ +#compdef dasht +_main() { + + local commands + commands=(`dasht-docsets 2>/dev/null`) + + if (( CURRENT >= 3 )); then + _describe -t commands 'commands' commands + fi + + return 0 +} + +_main