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: Prepend pixi to path instead of appending #1644

Merged
merged 4 commits into from
Jul 23, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
remove bash_profile update
  • Loading branch information
vigneshmanick committed Jul 21, 2024
commit b233dfc173b7bdcd286ccc4acd3b6410ac707467
9 changes: 2 additions & 7 deletions install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,9 @@ update_shell() {

case "$(basename "$SHELL")" in
bash)
if [ -w ~/.bash_profile ]; then
BASH_FILE=~/.bash_profile
else
# Default to bashrc as that is used in non login shells instead of the profile.
BASH_FILE=~/.bashrc
fi
# Default to bashrc as that is used in non login shells instead of the profile.
LINE="export PATH=${BIN_DIR}:\$PATH"
update_shell $BASH_FILE "$LINE"
update_shell ~/.bashrc "$LINE"
;;

fish)
Expand Down
Loading