How can I enable shell completion after a redirect or pipe? ">" #2716
Unanswered
brent-spyder
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Take the following command:
my_click_command --foo bar > /tmp/file.txt
I noticed that when bash shell completion is not enabled I get standard shell completion for files/directories. So after the redirect character I can easily output my results to
/tmp/file.txt
However, when bash shell completion is installed I get all the completion I would expect in the options of my program, but I lose the native shell completion after a redirect or pipe.
Am I doing something wrong or is this a limitation?
Beta Was this translation helpful? Give feedback.
All reactions