replace function with alias
This commit is contained in:
parent
c0123c9b41
commit
59a5f41140
1 changed files with 1 additions and 1 deletions
2
setup.sh
2
setup.sh
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue