feat: move configuration files inside home folder

This commit is contained in:
yeti
2025-04-24 15:29:17 +01:00
parent f392a2f4f5
commit 0ba2686971
1077 changed files with 109767 additions and 1 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