Improve external output in subexprs (#294)

This commit is contained in:
JT
2021-11-06 18:50:33 +13:00
committed by GitHub
parent c7d159a0f3
commit 02b8027749
50 changed files with 320 additions and 136 deletions

View File

@ -43,6 +43,6 @@ impl Command for Cd {
//FIXME: this only changes the current scope, but instead this environment variable
//should probably be a block that loads the information from the state in the overlay
stack.add_env_var("PWD".into(), path);
Ok(PipelineData::new())
Ok(PipelineData::new(call.head))
}
}

View File

@ -204,6 +204,6 @@ impl Command for Cp {
}
}
Ok(PipelineData::new())
Ok(PipelineData::new(call.head))
}
}

View File

@ -130,7 +130,7 @@ impl Command for Mv {
move_file(call, &entry, &destination)?
}
Ok(PipelineData::new())
Ok(PipelineData::new(call.head))
}
}

View File

@ -49,6 +49,6 @@ impl Command for Touch {
}
}
Ok(PipelineData::new())
Ok(PipelineData::new(call.head))
}
}