fix: remove undefined serverList variable from bash completion
This commit is contained in:
@@ -48,7 +48,7 @@ Pre-configured with:
|
|||||||
- SSH client for cloud access
|
- SSH client for cloud access
|
||||||
- Wildcard DNS resolution (dnsmasq)
|
- Wildcard DNS resolution (dnsmasq)
|
||||||
- Terminal-first interface (`desktop` command for GUI)
|
- 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
|
- Tab completion for all commands
|
||||||
|
|
||||||
Build and flash:
|
Build and flash:
|
||||||
@@ -127,7 +127,7 @@ Based on Co-op Cloud with quality scoring:
|
|||||||
- `recipes` - Show complete Co-op Cloud catalog
|
- `recipes` - Show complete Co-op Cloud catalog
|
||||||
- `deploy <app>` - Deploy locally with tab completion
|
- `deploy <app>` - Deploy locally with tab completion
|
||||||
- `browser [app]` - Launch Firefox [to specific app]
|
- `browser [app]` - Launch Firefox [to specific app]
|
||||||
- `connect <server>` - SSH connection helper (local use only)
|
|
||||||
- `desktop` - Start GUI session
|
- `desktop` - Start GUI session
|
||||||
- `help` - Show all commands and debug info
|
- `help` - Show all commands and debug info
|
||||||
|
|
||||||
|
|||||||
@@ -659,13 +659,9 @@ isoConfig
|
|||||||
COMPREPLY=($(compgen -W "${recipeList}" -- "$cur"))
|
COMPREPLY=($(compgen -W "${recipeList}" -- "$cur"))
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
connect)
|
|
||||||
COMPREPLY=($(compgen -W "${serverList}" -- "$cur"))
|
|
||||||
return 0
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
complete -F _workshop_completion deploy browser connect abra
|
complete -F _workshop_completion deploy browser abra
|
||||||
|
|
||||||
# Core Workshop Functions
|
# Core Workshop Functions
|
||||||
setup() {
|
setup() {
|
||||||
|
|||||||
Reference in New Issue
Block a user