Remove useless case

This commit is contained in:
Jakob Schöttl 2019-01-12 00:00:20 +01:00 committed by Simon Michael
parent 637ab8855d
commit e747b9fa8c

View File

@ -37,13 +37,6 @@ hledgerCompletionFunction() {
if [[ -z $subcommand ]]; then
declare completeFiles filenameSoFar
echo "$precedingWord, $wordToComplete"
case $wordToComplete in
--file=*|--rules-file=*)
completeFiles=1
filenameSoFar=${wordToComplete#*=}
;;
esac
case $precedingWord in
-f|--file|--rules-file)
completeFiles=1