16 lines
334 B
Bash
Executable File
16 lines
334 B
Bash
Executable File
#!/bin/bash
|
|
# ai.shell startup script (uses ~/.config/ai-shell setup)
|
|
|
|
set -e
|
|
|
|
CONFIG_DIR="$HOME/.config/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 ai-shell
|
|
exec "$CONFIG_DIR/bin/ai-shell" "$@" |