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

fix: Enforce newline on completion #2560

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ Afterwards, restart the shell or source the shell config file.
#### Bash (default on most Linux systems)

```bash
echo 'eval "$(pixi completion --shell bash)"' >> ~/.bashrc
echo -e "\neval \"\$(pixi completion --shell bash)\"" >> ~/.bashrc
```
#### Zsh (default on macOS)

```zsh
echo 'eval "$(pixi completion --shell zsh)"' >> ~/.zshrc
echo -e "\neval \"\$(pixi completion --shell zsh)\"" >> ~/.zhsrc
```

#### PowerShell (pre-installed on all Windows systems)
Expand Down Expand Up @@ -143,7 +143,7 @@ Add the following to the end of your Nushell env file (find it by running `$nu.e

```nushell
mkdir ~/.cache/pixi
pixi completion --shell nushell | save -f ~/.cache/pixi/completions.nu
pixi completion --shell nushell | save --force ~/.cache/pixi/completions.nu
```

And add the following to the end of your Nushell configuration (find it by running `$nu.config-path`):
Expand Down
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ Afterwards, restart the shell or source the shell config file.
### Bash (default on most Linux systems)

```bash
echo 'eval "$(pixi completion --shell bash)"' >> ~/.bashrc
echo -e "\neval \"\$(pixi completion --shell bash)\"" >> ~/.bashrc
```
### Zsh (default on macOS)

```zsh
echo 'eval "$(pixi completion --shell zsh)"' >> ~/.zshrc
echo -e "\neval \"\$(pixi completion --shell zsh)\"" >> ~/.zhsrc
```

### PowerShell (pre-installed on all Windows systems)
Expand Down Expand Up @@ -87,7 +87,7 @@ Add the following to the end of your Nushell env file (find it by running `$nu.e

```nushell
mkdir ~/.cache/pixi
pixi completion --shell nushell | save -f ~/.cache/pixi/completions.nu
pixi completion --shell nushell | save --force ~/.cache/pixi/completions.nu
```

And add the following to the end of your Nushell configuration (find it by running `$nu.config-path`):
Expand Down