mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 09:35:44 +02:00
account for startup commands in the scope. (#3261)
* Revert "Impl one configurable function to run scripts (#3242)" * pass config startup.
This commit is contained in:
committed by
GitHub
parent
4c09716ad8
commit
00acf22f5f
@ -11,11 +11,10 @@ mod environment;
|
||||
|
||||
mod pipeline;
|
||||
|
||||
#[should_panic]
|
||||
#[test]
|
||||
fn runs_configuration_startup_commands() {
|
||||
Playground::setup("init_config_startup_commands_test", |dirs, nu| {
|
||||
let file = AbsolutePath::new(dirs.test().join("startup.toml"));
|
||||
let file = AbsolutePath::new(dirs.config_fixtures().join("startup.toml"));
|
||||
|
||||
nu.with_config(&file);
|
||||
|
||||
|
Reference in New Issue
Block a user