We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fdc24e commit 903de2cCopy full SHA for 903de2c
src/elements/word.rs
@@ -14,8 +14,11 @@ pub struct Word {
14
}
15
16
impl Word {
17
- pub fn eval(&mut self, _: &mut ShellCore) -> Option<Vec<String>> {
+ pub fn eval(&mut self, core: &mut ShellCore) -> Option<Vec<String>> {
18
let mut ws = brace_expansion::eval(self);
19
+ for w in ws.iter_mut() {
20
+ w.subwords.iter_mut().for_each(|sw| {sw.substitute(core); } );
21
+ }
22
Some( Self::make_args(&mut ws) )
23
24
0 commit comments