Skip to content

How to enable tab completion for alias approach? #67

Answered by nat-n
shanehh asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @shanehh,

Could you describe how is is not working? Which shell type are you trying to enable completions for?

The issue could be related to the fact that the completion script installed in your shell needs to call poe _list_tasks to get the present tasks, and might not be able to find the poe executable with the alias!

Since the completion requires poe to be accessible, the most reliable solution is to ensure it's installed into your user environment via pip or pipx. Though if you want to try another solution you can always modify the completion script the poe outputs, to change where it looks for the poe executable when calling poe _list_tasks.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shanehh
Comment options

Answer selected by shanehh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #66 on May 10, 2022 21:33.