Merge pull request #2369 from tridactyl/fix_2353

Make hundreds of config.get calls disappear with this one weird trick
This commit is contained in:
Oliver Blanthorn 2020-05-09 13:53:07 +01:00 committed by GitHub
commit 09845cb726
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,7 +73,7 @@ export class ExcmdCompletionSource extends Completions.CompletionSourceFuse {
a.startsWith(exstr),
)
for (const alias of exaliases) {
const cmd = aliases.expandExstr(alias)
const cmd = aliases.expandExstr(alias, exaliases)
const fn = excmds.getFunction(cmd)
if (fn) {
this.options.push(