Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
96 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
_geeknote_command() | ||
{ | ||
COMPREPLY=() | ||
cur="${COMP_WORDS[COMP_CWORD]}" | ||
SAVE_IFS=$IFS | ||
IFS=" " | ||
args="${COMP_WORDS[*]}" | ||
IFS=$SAVE_IFS | ||
COMPREPLY=( $(compgen -W "`python /home/skaizer/geeknote_autocomplete.py ${args}`" -- ${cur}) ) | ||
return 0 | ||
} | ||
complete -F _geeknote_command geeknote | ||
_geeknote_command() | ||
{ | ||
COMPREPLY=() | ||
cur="${COMP_WORDS[COMP_CWORD]}" | ||
|
||
SAVE_IFS=$IFS | ||
IFS=" " | ||
args="${COMP_WORDS[*]}" | ||
IFS=$SAVE_IFS | ||
|
||
COMPREPLY=( $(compgen -W "`geeknote autocomplete ${args}`" -- ${cur}) ) | ||
|
||
return 0 | ||
} | ||
complete -F _geeknote_command geeknote |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env python | ||
#-*- coding:utf-8 -*- | ||
|
||
from glob import glob | ||
import os | ||
|
||
from py2deb import Py2deb | ||
|
||
p=Py2deb("geeknote") | ||
|
||
p.author="Ivan Gureev, Vitaliy Rodnenko, Simon Moiseenko" | ||
p.mail="vitaly@webpp.ru" | ||
p.description="Geeknote - is a command line client for Evernote, that can be use on Linux, FreeBSD and OS X." | ||
p.url = "http://geeknote.me" | ||
p.depends="python" | ||
p.license="gpl" | ||
p.section="utils" | ||
p.arch="all" | ||
|
||
p["/usr/bin"] = ["geeknote.py|geeknote", "gnsync.py|gnsync"] | ||
|
||
p["/etc/bash_completion.d"] = ["bash_completion/geeknote"] | ||
|
||
# p["/usr/local/lib/geeknone"] = ["lib"] | ||
# p["/usr/local/lib/geeknone"] = glob("unit/*.*") | ||
|
||
p["/usr/local/lib/geeknone"] = ["geeknote.py" ,"argparser.py", "editor.py", "log.py", "oauth.py", "out.py", "storage.py", "tools.py"] | ||
|
||
p.generate("0.0.1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters