Add zsh completions
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
11
hosts/common/configs/user/gui/theme/theme.completion.sh
Normal file
11
hosts/common/configs/user/gui/theme/theme.completion.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
_theme-completion() {
|
||||
local options=(
|
||||
'-m[set mode: light, dark, or toggle]:mode:(light dark toggle)'
|
||||
'-w[set wallpaper: specify file path]:file:_files'
|
||||
)
|
||||
local curcontext="$curcontext" state line
|
||||
typeset -A opt_args
|
||||
_arguments -s $options
|
||||
}
|
||||
|
||||
compdef _theme-completion theme
|
Reference in New Issue
Block a user