Skip to content

Commit

Permalink
Remove uvx shell completion instructions (#7459)
Browse files Browse the repository at this point in the history
## Summary

I misunderstood and this isn't necessary.
  • Loading branch information
charliermarsh authored Sep 17, 2024
1 parent c87ce7a commit 2cb3acd
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,25 +181,6 @@ To enable shell autocompletion for uv commands, run one of the following:

Then restart the shell or source the shell config file.

You can also enable shell autocompletion for uvx by running the same commands, replacing `uv` with
`uvx`:

=== "Linux and macOS"

```bash
# Determine your shell (e.g., with `echo $SHELL`), then run one of:
echo 'eval "$(uvx generate-shell-completion bash)"' >> ~/.bashrc
echo 'eval "$(uvx generate-shell-completion zsh)"' >> ~/.zshrc
echo 'uvx generate-shell-completion fish | source' >> ~/.config/fish/config.fish
echo 'eval (uvx generate-shell-completion elvish | slurp)' >> ~/.elvish/rc.elv
```

=== "Windows"

```powershell
Add-Content -Path $PROFILE -Value '(& uvx generate-shell-completion powershell) | Out-String | Invoke-Expression'
```

## Uninstallation

If you need to remove uv from your system, just remove the `uv` and `uvx` binaries:
Expand Down

0 comments on commit 2cb3acd

Please sign in to comment.