Add tab completion for julia +channel selection#1420
Open
IanButterworth wants to merge 1 commit intomainfrom
Open
Add tab completion for julia +channel selection#1420IanButterworth wants to merge 1 commit intomainfrom
IanButterworth wants to merge 1 commit intomainfrom
Conversation
Add shell tab completion so users can type 'julia +<TAB>' and see available channels. Completions for both juliaup commands and julia channel selection are auto-installed for bash and zsh, and available for all 6 supported shells (bash, zsh, fish, powershell, elvish, nushell). Changes: - Add hidden '_list-channels' subcommand that prints sorted installed channel names, used by completion scripts - Generate per-shell completion scripts that combine juliaup subcommand completions with julia +channel completions - Write pre-generated completion files to ~/.juliaup/completions/ during initial setup and self-update to avoid eval overhead on shell startup - Add 'source' line to managed shell init blocks in .bashrc/.zshrc - Add hidden '_post-update' subcommand invoked by the old binary after extracting a new one, to refresh completion files and shell init blocks - Update README to document auto-installed completions Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add shell tab completion so users can type 'julia +' and see available channels. Completions for both juliaup commands and julia channel selection are auto-installed for bash and zsh, and available for all 6 supported shells (bash, zsh, fish, powershell, elvish, nushell).
and
julia +pr{tab}etc.Changes: