We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce8de37 commit 662edb8Copy full SHA for 662edb8
installers/new-installer.sh
@@ -35,9 +35,11 @@ uv pip install --python "$VENV_DIR/bin/python" "git+$REPO_URL@$BRANCH"
35
# Update PATH for current session and future sessions
36
export PATH="$VENV_DIR/bin:$PATH"
37
SHELL_CONFIG="$HOME/.bashrc"
38
-if [[ "$SHELL" == *"zsh"* ]]; then
39
- SHELL_CONFIG="$HOME/.zshrc"
40
-fi
+case "$SHELL" in
+ *zsh*)
+ SHELL_CONFIG="$HOME/.zshrc"
41
+ ;;
42
+esac
43
echo "export PATH=\"$VENV_DIR/bin:\$PATH\"" >> "$SHELL_CONFIG"
44
45
echo
0 commit comments