basecamp_omarchy/bin/omarchy-restart-opencode

8 lines
154 B
Bash
Executable File

#!/bin/bash
# Reload opencode configuration (used by the Omarchy theme switching).
if pgrep -x opencode >/dev/null; then
killall -SIGUSR2 opencode
fi