Skip to content

Commit 662edb8

Browse files
committed
Better ubuntu
1 parent ce8de37 commit 662edb8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

installers/new-installer.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ uv pip install --python "$VENV_DIR/bin/python" "git+$REPO_URL@$BRANCH"
3535
# Update PATH for current session and future sessions
3636
export PATH="$VENV_DIR/bin:$PATH"
3737
SHELL_CONFIG="$HOME/.bashrc"
38-
if [[ "$SHELL" == *"zsh"* ]]; then
39-
SHELL_CONFIG="$HOME/.zshrc"
40-
fi
38+
case "$SHELL" in
39+
*zsh*)
40+
SHELL_CONFIG="$HOME/.zshrc"
41+
;;
42+
esac
4143
echo "export PATH=\"$VENV_DIR/bin:\$PATH\"" >> "$SHELL_CONFIG"
4244

4345
echo

0 commit comments

Comments
 (0)