mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:26:40 +00:00
feat(dev): lazy-load scaleway CLI completions
This commit is contained in:
11
zsh/scaleway.zsh
Normal file
11
zsh/scaleway.zsh
Normal file
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# Scaleway CLI setup.
|
||||
#
|
||||
|
||||
if command-exists scw; then
|
||||
_scw() {
|
||||
unset -f _scw
|
||||
eval "$(command scw autocomplete script shell=zsh)"
|
||||
}
|
||||
compctl -K _scw scw
|
||||
fi
|
||||
Reference in New Issue
Block a user