mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 21:15:19 +03:00
Remove useless case
This commit is contained in:
parent
637ab8855d
commit
e747b9fa8c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user