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
Uh oh!
There was an error while loading. Please reload this page.
-
Take the following command:
my_click_command --foo bar > /tmp/file.txtI 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.txtHowever, 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