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

Newline before . in .profile, if .profile doesn't end on newline #1428

Open
sebabbix opened this issue Nov 6, 2024 · 0 comments
Open

Newline before . in .profile, if .profile doesn't end on newline #1428

sebabbix opened this issue Nov 6, 2024 · 0 comments

Comments

@sebabbix
Copy link

sebabbix commented Nov 6, 2024

Steps to Reproduce

Installing rye:

$ curl -sSf https://rye.astral.sh/get | bash
This script will automatically download and install rye (latest) for you.
######################################################################## 100.0%
Welcome to Rye!

This installer will install rye to /home/user/.rye
This path can be changed by exporting the RYE_HOME environment variable.

Details:
  Rye Version: 0.42.0
  Platform: linux (x86_64)

✔ Continue? · yes
✔ What should running `python` or `python3` do when you are not inside a Rye managed project? · Run the old default Python (provided by your OS, pyenv, etc.)
Installed binary to /home/user/.rye/shims/rye
Bootstrapping rye internals
Downloading [email protected]
Checking checksum
Unpacking
Downloaded [email protected]
Updated self-python installation at /home/user/.rye/self

The rye directory /home/user/.rye/shims was not detected on PATH.
It is highly recommended that you add it.
✔ Should the installer add Rye to PATH via .profile? · yes
Added to PATH.
note: for this to take effect you will need to restart your shell or run this manually:

    source "$HOME/.rye/env"

For more information read https://rye.astral.sh/guide/installation/

All done!

I have performed the installation twice from the same snapshot. The result can be reproduced.

Expected Result

end of ~/.profile:

export PATH="$PATH:/home/user/.local/share/JetBrains/Toolbox/scripts"
. "$HOME/.rye/env"

Actual Result

end of ~/.profile:

export PATH="$PATH:/home/user/.local/share/JetBrains/Toolbox/scripts". "$HOME/.rye/env"

Version Info

$ rye --version
rye 0.42.0
commit: 0.42.0 (b8f472e15 2024-10-21)
platform: linux (x86_64)
self-python: [email protected]
symlink support: true
uv enabled: true

Stacktrace

No response

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

No branches or pull requests

1 participant