Skip to content

Commit 230e5f2

Browse files
AnnatarHeclaude
andcommitted
feat(install): auto-reinstall daemon after installation
Check if shelltime CLI is available and run `shelltime daemon reinstall` silently at the end of the installation process. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 98220e4 commit 230e5f2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

install.bash

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,10 @@ add_source_to_config "$HOME/.zshrc" "${hooks_path}/zsh.zsh"
252252
add_source_to_config "$HOME/.config/fish/config.fish" "${hooks_path}/fish.fish"
253253
add_source_to_config "$HOME/.bashrc" "${hooks_path}/bash.bash"
254254

255+
# Reinstall daemon if shelltime is available
256+
if command_exists shelltime; then
257+
shelltime daemon reinstall > /dev/null 2>&1
258+
fi
255259

256260
echo ""
257261
echo "Installation complete!"

0 commit comments

Comments
 (0)