From 74d4e0d0e7bfde48331493bc228758c969a85e5a Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 21 Jun 2026 02:24:51 +0000 Subject: [PATCH] wolf: register tab-completion for both 'manage.sh' and './manage.sh' Bash treats these as different command names so both need registering. Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_01D8ckUJQtj1pH8jtAddBDZs --- services/wolf.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/wolf.sh b/services/wolf.sh index bc35a32..dc44089 100644 --- a/services/wolf.sh +++ b/services/wolf.sh @@ -1704,8 +1704,9 @@ _manage_wolf_complete() { install-completion backup" COMPREPLY=( $(compgen -W "$commands" -- "$cur") ) } -# Register for any script named manage.sh regardless of path +# Register for both 'manage.sh' and './manage.sh' invocation styles complete -F _manage_wolf_complete manage.sh +complete -F _manage_wolf_complete ./manage.sh COMPEOF # Also source it immediately in the current shell if possible echo "source \"$COMP_FILE\"" >> "$HOME/.bash_completion" 2>/dev/null || true