summaryrefslogtreecommitdiffstats
path: root/app-misc/geeknote/files
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/geeknote/files')
-rw-r--r--app-misc/geeknote/files/geeknote15
1 files changed, 15 insertions, 0 deletions
diff --git a/app-misc/geeknote/files/geeknote b/app-misc/geeknote/files/geeknote
new file mode 100644
index 0000000..1f919b2
--- /dev/null
+++ b/app-misc/geeknote/files/geeknote
@@ -0,0 +1,15 @@
+_geeknote_command()
+{
+ COMPREPLY=()
+ cur="${COMP_WORDS[COMP_CWORD]}"
+
+ SAVE_IFS=$IFS
+ IFS=" "
+ args="${COMP_WORDS[*]:1}"
+ IFS=$SAVE_IFS
+
+ COMPREPLY=( $(compgen -W "`geeknote autocomplete ${args}`" -- ${cur}) )
+
+ return 0
+}
+complete -F _geeknote_command geeknote