forked from jeffkowalski/geeknote
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved completion, refactored full_install in setup.py, fixed MANIFEST.in
- Loading branch information
Showing
4 changed files
with
40 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
include README.MD requirements.txt | ||
exclude *.orig *.pyc | ||
include README.md requirements.txt MANIFEST.in | ||
include completion/zsh_completion/_geeknote completion/bash_completion/_geeknote | ||
exclude *.orig *.pyc |
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,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 |
File renamed without changes.
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