Due to limitations of file descriptor inheritance on Windows,
Git Bash not supported out of the box. You can opt in to using
temporary files instead of file descriptors for for IPC
by setting the environment variable ARGCOMPLETE_USE_TEMPFILES
,
e.g. by adding export ARGCOMPLETE_USE_TEMPFILES=1
to ~/.bashrc
.
For full support, consider using Bash with the Windows Subsystem for Linux (WSL).
To activate completions for fish use:
register-python-argcomplete --shell fish my-awesome-script | source
or create new completion file, e.g:
register-python-argcomplete --shell fish my-awesome-script > ~/.config/fish/completions/my-awesome-script.fish
By default help string is added as completion description.
You can disable this feature by removing _ARGCOMPLETE_DFS
variable, e.g:
register-python-argcomplete --shell fish my-awesome-script | grep -v _ARGCOMPLETE_DFS | source
To create new completion file, e.g:
register-python-argcomplete --shell powershell my-awesome-script > ~/my-awesome-script.psm1
To activate completions for PowerShell, add the below line in $PROFILE
. For more information, see How to create your profile and Profiles and execution policy.
Import-Module "~/my-awesome-script.psm1"