You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
366 B
11 lines
366 B
#/usr/bin/env bash
|
|
|
|
_update_look_nas_completion () {
|
|
COMPREPLY=()
|
|
local cur=${COMP_WORDS[COMP_CWORD]}
|
|
local THEMES=$(cd "$(dirname ${COMP_WORDS[0]})"/look ; ls -F -- '.' | grep '/$' | sed 's%/%%' | tr '\n' ' ' | sed 's% $%%')
|
|
|
|
COMPREPLY=($(compgen -W "${THEMES}" -- "${cur}"))
|
|
return 0
|
|
}
|
|
complete -F _update_look_nas_completion updateLook.sh
|
|
|