Skip to content

Commit

Permalink
Better ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
KillianLucas committed Dec 4, 2024
1 parent ce8de37 commit 662edb8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions installers/new-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ uv pip install --python "$VENV_DIR/bin/python" "git+$REPO_URL@$BRANCH"
# Update PATH for current session and future sessions
export PATH="$VENV_DIR/bin:$PATH"
SHELL_CONFIG="$HOME/.bashrc"
if [[ "$SHELL" == *"zsh"* ]]; then
SHELL_CONFIG="$HOME/.zshrc"
fi
case "$SHELL" in
*zsh*)
SHELL_CONFIG="$HOME/.zshrc"
;;
esac
echo "export PATH=\"$VENV_DIR/bin:\$PATH\"" >> "$SHELL_CONFIG"

echo
Expand Down

0 comments on commit 662edb8

Please sign in to comment.