You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working in shells it is quite common that a command outputs something to stdout an the user wants to redirect this to a file, for example:
ls > /tmp/list_of_files.txt
Using tab completion after the > redirection is very useful to navigate existing directories or complete files. This works out of the box for commands that don't have any tab completion, since anyway this no longer depends on the command.
Unfortunately, when an shtab completion script is activated, the completion after redirection no longer works. For instance take the following script:
I would be willing to work on a fix. But probably only if I get some guidance since I don't really understand why it doesn't work or know how to debug.
When working in shells it is quite common that a command outputs something to stdout an the user wants to redirect this to a file, for example:
ls > /tmp/list_of_files.txt
Using tab completion after the
>
redirection is very useful to navigate existing directories or complete files. This works out of the box for commands that don't have any tab completion, since anyway this no longer depends on the command.Unfortunately, when an shtab completion script is activated, the completion after redirection no longer works. For instance take the following script:
The following are cases that work and don't work:
The text was updated successfully, but these errors were encountered: