Skip to content

Commit d8428f9

Browse files
committed
Fix
1 parent d4b75c5 commit d8428f9

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

src/core/builtins/completion.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,13 @@ fn compgen_large_w(core: &mut ShellCore, args: &mut Vec<String>) -> Vec<String>
311311
while feeder.len() != 0 {
312312
match Word::parse(&mut feeder, core, false) {
313313
Ok(Some(mut w)) => {
314+
if let Ok(mut v) = w.eval(core) {
315+
ans.append(&mut v);
316+
}
317+
/*
314318
w.make_unquoted_word();
315319
ans.push(w.text)
320+
*/
316321
},
317322
_ => {
318323
let len = feeder.scanner_multiline_blank(core);

test/error

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
../../../test/test_fixed.bash

test/ok

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@
1212
./test_parameters.bash
1313
./test_builtins.bash
1414
./test_job.bash
15-
../../../test/test_fixed.bash

0 commit comments

Comments
 (0)