install claude and notifications
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
COREDESKTOP="$HOME/.local/share/coredesktop"
|
||||
|
||||
# claude.sh has run if Claude Code is installed, ~/.local/bin is on PATH in
|
||||
# .bashrc, and the notification settings file exists
|
||||
if command -v claude &>/dev/null \
|
||||
&& grep -qF 'export PATH="$HOME/.local/bin:$PATH"' ~/.bashrc 2>/dev/null \
|
||||
&& [ -f "$HOME/.claude/settings.json" ]; then
|
||||
echo "Claude Code already set up."
|
||||
else
|
||||
echo "Setting up Claude Code..."
|
||||
bash "$COREDESKTOP/claude.sh"
|
||||
fi
|
||||
Reference in New Issue
Block a user