This repository has been archived on 2026-09-03. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
open-brainy/scripts/claude-commit.sh

15 lines
485 B
Bash
Raw Permalink Normal View History

#!/bin/bash
# This script now calls the global claude-commit command
# The global version is located at ~/.local/bin/claude-commit
# Or can be installed from docs/tools/claude-commit/setup.sh
if command -v claude-commit >/dev/null 2>&1; then
exec claude-commit "$@"
elif [ -x "$HOME/.local/bin/claude-commit" ]; then
exec "$HOME/.local/bin/claude-commit" "$@"
else
echo "claude-commit not found. Please run:"
echo " ./docs/tools/claude-commit/setup.sh"
exit 1
fi