1
0
shell/scripts/start.sh
2025-06-02 00:32:00 +09:00

16 lines
342 B
Bash
Executable File

#!/bin/bash
# ai.shell startup script (uses ~/.config/syui/ai/shell setup)
set -e
CONFIG_DIR="$HOME/.config/syui/ai/shell"
# Check if setup has been run
if [ ! -d "$CONFIG_DIR/venv" ]; then
echo "❌ ai.shell is not set up yet."
echo "Please run: ./scripts/setup.sh"
exit 1
fi
# Run aishell
exec "$CONFIG_DIR/bin/aishell" "$@"