diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
commit | ca9627e70852f6b2e835660df870fe3ab405882d (patch) | |
tree | 0a008b1d5b16fa0679a195ed7b5662c7891f591c /app-misc/geeknote/files | |
download | darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2 darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip |
Initial import
Diffstat (limited to 'app-misc/geeknote/files')
-rw-r--r-- | app-misc/geeknote/files/geeknote | 15 |
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 |