From e09c5dfc7e0dae40524d3e0efbc5ba2871dc3b7e Mon Sep 17 00:00:00 2001 From: Roland Tannous Date: Sat, 14 Feb 2026 05:24:54 +0000 Subject: [PATCH] fix alias command --- setup.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/setup.sh b/setup.sh index bead2ce40b..2d74b60976 100755 --- a/setup.sh +++ b/setup.sh @@ -95,12 +95,13 @@ echo "✅ Python dependencies installed" # This alias hardcodes the venv python path so users don't need to activate. echo "" REPO_DIR="$SCRIPT_DIR" -ALIAS_LINE="unsloth-ui() { ${REPO_DIR}/.venv/bin/python ${REPO_DIR}/cli.py ui \"\$@\" -f ${REPO_DIR}/studio/frontend/dist; }" if ! grep -qF "unsloth-ui" ~/.bashrc 2>/dev/null; then - echo "" >> ~/.bashrc - echo "# Unsloth Studio launcher" >> ~/.bashrc - echo "$ALIAS_LINE" >> ~/.bashrc + cat >> ~/.bashrc <