che-astronvim-config/lua/plugins/pendulum/branch_time.sh
2025-07-19 00:26:19 +00:00

15 lines
481 B
Bash
Executable File

#!/bin/bash
# Path to the branch_time_calculator.py script
CALCULATOR_PATH="$HOME/.config/nvim/lua/plugins/pendulum/branch_time_calculator.py"
# Check if the calculator script exists
if [ ! -f "$CALCULATOR_PATH" ]; then
echo "Error: The branch_time_calculator.py script was not found at $CALCULATOR_PATH."
echo "Please ensure the 'pendulum' plugin is installed in your Neovim configuration."
exit 1
fi
# Execute the calculator script
python3 "$CALCULATOR_PATH" "$@"