fix bash-completions

This commit is contained in:
Abraham Toriz 2022-08-26 12:30:09 -04:00
parent 6d9fa0cf7b
commit f980bb89b5
No known key found for this signature in database
GPG Key ID: D5B4A746DB5DD42A
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ _tiempo ()
cmd="${COMP_WORDS[1]}"
if [[ ( $cmd = s* || $cmd = d* || $cmd = k* ) && "$COMP_CWORD" = 2 ]]; then
COMPREPLY=($(compgen -W "$(echo "select distinct sheet from entries where sheet not like '\_%';" | z b)" $cur))
COMPREPLY=($(compgen -W "$(echo "select distinct sheet from entries where sheet not like '\_%';" | t b)" $cur))
return
elif [[ "$COMP_CWORD" = 1 ]]; then
CMDS="archive backend configure display edit in kill list now out resume sheet week month"
@ -13,4 +13,4 @@ _tiempo ()
fi
}
complete -F _tiempo 'z'
complete -F _tiempo 't'