mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +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
|
||||||
1
zshrc
1
zshrc
@@ -127,6 +127,7 @@ source "$DOTZSH/nodejs.zsh"
|
|||||||
source "$DOTZSH/python.zsh"
|
source "$DOTZSH/python.zsh"
|
||||||
source "$DOTZSH/ruby.zsh"
|
source "$DOTZSH/ruby.zsh"
|
||||||
source "$DOTZSH/rust.zsh"
|
source "$DOTZSH/rust.zsh"
|
||||||
|
source "$DOTZSH/scaleway.zsh"
|
||||||
|
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Basic Z-Shell settings
|
# Basic Z-Shell settings
|
||||||
|
|||||||
Reference in New Issue
Block a user