diff --git a/src/commands/classified.rs b/src/commands/classified.rs index cb8fb4692a..797193ecaf 100644 --- a/src/commands/classified.rs +++ b/src/commands/classified.rs @@ -221,7 +221,7 @@ impl ExternalCommand { } } else { for arg in &self.args { - process = process.arg(arg); + process = process.arg(arg.item.clone()); } } } diff --git a/tests/enter.out b/tests/enter.out index 37622491df..10a6a46d7a 100644 --- a/tests/enter.out +++ b/tests/enter.out @@ -1 +1 @@ -S +markup diff --git a/tests/enter.txt b/tests/enter.txt index 5c5c0e6998..98dc1b2373 100644 --- a/tests/enter.txt +++ b/tests/enter.txt @@ -2,6 +2,9 @@ cd tests enter test.json cd glossary cd GlossDiv -ls title | echo $it +cd GlossList +cd GlossEntry +cd GlossSee +ls | echo $it exit exit