-
-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: Support aliases in argcompletion #222
Comments
From my limited reading it seems this is a general problem with completion and not something we should deal with inside argcomplete. Here a few of the pages I've looked at: |
The suggestions for |
Looking at this a bit more closely, we would at least have to replace the alias in |
I'm afraid I don't know how to approach this.
However, this does not work with aliases. The function defined in |
I'm not sure if we want to accommodate aliases. In case we do, here is how the git bashcomp shellcode does it:
|
Hi,
There it is! :-)
I currently have a script at
/path/to/file
which takes two positional argumentsarg1
+arg2
.The script is usually called via
alias a=python3 /path/to/file arg1
andarg2
should be completable. It works fine when I type it out, but it would be really nice if I could use argcomplete with my alias.Thanks!
The text was updated successfully, but these errors were encountered: