lint: shfmt with -ci

This commit is contained in:
Casper da Costa-Luis
2020-01-30 22:35:48 +00:00
parent 10c5103ed7
commit 98d2ca00c0
2 changed files with 32 additions and 32 deletions
+2 -2
View File
@@ -82,8 +82,8 @@ _dvc() {
if [ "${COMP_CWORD}" -eq 1 ]; then
case "$word" in
-*) COMPREPLY=($(compgen -W "$_dvc_options" -- "$word")) ;;
*) COMPREPLY=($(compgen -W "$_dvc_commands" -- "$word")) ;;
-*) COMPREPLY=($(compgen -W "$_dvc_options" -- "$word")) ;;
*) COMPREPLY=($(compgen -W "$_dvc_commands" -- "$word")) ;;
esac
elif [ "${COMP_CWORD}" -eq 2 ]; then
local options_list="_dvc_$(replace_hyphen ${COMP_WORDS[1]})"