replace function with alias

This commit is contained in:
Roland Tannous 2026-02-14 05:28:47 +00:00
commit 59a5f41140

View file

@ -100,7 +100,7 @@ if ! grep -qF "unsloth-ui" ~/.bashrc 2>/dev/null; then
cat >> ~/.bashrc <<UNSLOTH_EOF
# Unsloth Studio launcher
unsloth-ui() { ${REPO_DIR}/.venv/bin/python ${REPO_DIR}/cli.py ui "\$@" -f ${REPO_DIR}/studio/frontend/dist; }
alias unsloth-ui='${REPO_DIR}/.venv/bin/python ${REPO_DIR}/cli.py ui -f ${REPO_DIR}/studio/frontend/dist'
UNSLOTH_EOF
echo "✅ Alias 'unsloth-ui' added to ~/.bashrc"
else