Remove redundant call of _get_comp_words_by_ref()

This commit is contained in:
Vladimir Zhelezov 2020-12-13 09:56:04 +01:00
parent 750450915d
commit 05d483494b
2 changed files with 0 additions and 2 deletions

View File

@ -308,7 +308,6 @@ _hledger_compreply_query() {
status:) wordlist="\ * !" ;; status:) wordlist="\ * !" ;;
*) return 1 ;; *) return 1 ;;
esac esac
_get_comp_words_by_ref -n '<=>' -c cur
_hledger_compreply "$( _hledger_compreply "$(
compgen -P "$query" -W "$wordlist" -- "$match" compgen -P "$query" -W "$wordlist" -- "$match"
)" )"

View File

@ -308,7 +308,6 @@ _hledger_compreply_query() {
status:) wordlist="\ * !" ;; status:) wordlist="\ * !" ;;
*) return 1 ;; *) return 1 ;;
esac esac
_get_comp_words_by_ref -n '<=>' -c cur
_hledger_compreply "$( _hledger_compreply "$(
compgen -P "$query" -W "$wordlist" -- "$match" compgen -P "$query" -W "$wordlist" -- "$match"
)" )"