fix: remove undefined serverList variable from bash completion

This commit is contained in:
2025-09-16 19:09:21 +02:00
parent d4f9e9c37d
commit 7f4a87b194
2 changed files with 3 additions and 7 deletions

View File

@@ -48,7 +48,7 @@ Pre-configured with:
- SSH client for cloud access
- Wildcard DNS resolution (dnsmasq)
- Terminal-first interface (`desktop` command for GUI)
- Helper commands: `recipes`, `deploy`, `connect`, `browser`, `help`
- Helper commands: `recipes`, `deploy`, `browser`, `help`
- Tab completion for all commands
Build and flash:
@@ -127,7 +127,7 @@ Based on Co-op Cloud with quality scoring:
- `recipes` - Show complete Co-op Cloud catalog
- `deploy <app>` - Deploy locally with tab completion
- `browser [app]` - Launch Firefox [to specific app]
- `connect <server>` - SSH connection helper (local use only)
- `desktop` - Start GUI session
- `help` - Show all commands and debug info

View File

@@ -659,13 +659,9 @@ isoConfig
COMPREPLY=($(compgen -W "${recipeList}" -- "$cur"))
return 0
;;
connect)
COMPREPLY=($(compgen -W "${serverList}" -- "$cur"))
return 0
;;
esac
}
complete -F _workshop_completion deploy browser connect abra
complete -F _workshop_completion deploy browser abra
# Core Workshop Functions
setup() {