Closed kindlychung closed 8 years ago
Hi. It's unlikely that the problem you have is related to docopt-completion. The shell itself should recognize the redirection character (">") and then use its own file completion routines for the path you start typing. I tried it now to make sure, and I have no problem completing file paths after using docopt completion and redirection. Are you using bash or zsh?
bash --version
GNU bash, version 4.3.42(1)-release (x86_64-apple-darwin14.5.0)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
I found the problem and committed a fix. Thanks for reporting this. I uploaded version 0.2.6.post3 to PyPI, please try it and let me know if your issue (and issue #12) are resolved
Here is the help message:
If I type
clipr output > /home/k
then tab, there is no suggestion at all.