Skip to content
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

argcomplete: fix auto-generated shell-completions in postInstall #391

Merged
merged 1 commit into from
Mar 16, 2024
Merged

argcomplete: fix auto-generated shell-completions in postInstall #391

merged 1 commit into from
Mar 16, 2024

Conversation

SebTM
Copy link
Contributor

@SebTM SebTM commented Mar 16, 2024

Result after this change (zsh, but tested in bash and also makes them work but less nice but also unconfigured bash compared to personal zsh-setup):
Screenshot from 2024-03-16 21-55-10
Screenshot from 2024-03-16 21-55-21

I wen the wrong way first and tried to setup/make argcomplete global-setup work with NixOS/wrappers by resolving the last line and redirecting the resolution but later figured out that's not needed.

I looked through nixpkgs and only found one other package using the full path (https://github.com/search?q=repo%3ANixOS%2Fnixpkgs+register-python-argcomplete+%24out&type=code) and enabling _ARC_DEBUG made me realize the registered completion does not trigger as it never (except you copy the full path to nix-store) matches.

If this is accepted I can also provide a nixpkgs-pr with reference to here ✌🏻

@Mic92
Copy link
Owner

Mic92 commented Mar 16, 2024

@mergify queue

Copy link
Contributor

mergify bot commented Mar 16, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at f2c5167

@mergify mergify bot merged commit f2c5167 into Mic92:master Mar 16, 2024
4 checks passed
@SebTM SebTM deleted the shell_completion branch March 16, 2024 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants