initial, no firefox yet :(

This commit is contained in:
voidarclabs
2025-07-22 16:18:19 +01:00
commit 221bcbf568
1095 changed files with 112089 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
## Scaleway CLI plugin
This plugin adds completion for [scw](https://github.com/scaleway/scaleway-cli), the command line interface for Scaleway.
To use it, add `scw` to the plugins array in your zshrc file:
```zsh
plugins=(... scw)
```

View File

@@ -0,0 +1,14 @@
if (( ! $+commands[scw] )); then
return
fi
_scw () {
output=($(scw autocomplete complete zsh -- ${CURRENT} ${words}))
opts=('-S' ' ')
if [[ $output == *= ]]; then
opts=('-S' '')
fi
compadd "${opts[@]}" -- "${output[@]}"
}
compdef _scw scw