diff --git a/console/src/main/java/org/jline/console/impl/SystemRegistryImpl.java b/console/src/main/java/org/jline/console/impl/SystemRegistryImpl.java index fa02ea58f..c65838ef4 100644 --- a/console/src/main/java/org/jline/console/impl/SystemRegistryImpl.java +++ b/console/src/main/java/org/jline/console/impl/SystemRegistryImpl.java @@ -62,8 +62,9 @@ public enum Pipe { private static final Class[] BUILTIN_REGISTRIES = { Builtins.class, ConsoleEngineImpl.class }; private CommandRegistry[] commandRegistries; private Integer consoleId; - private final Parser parser; - private final ConfigurationPath configPath; + protected final Parser parser; + protected final ConfigurationPath configPath; + protected final Supplier workDir; private final Map subcommands = new HashMap<>(); private final Map pipeName = new HashMap<>(); private final Map commandExecute = new HashMap<>(); @@ -72,7 +73,6 @@ public enum Pipe { private final CommandOutputStream outputStream; private ScriptStore scriptStore = new ScriptStore(); private NamesAndValues names = new NamesAndValues(); - private final Supplier workDir; private final SystemCompleter customSystemCompleter = new SystemCompleter(); private final AggregateCompleter customAggregateCompleter = new AggregateCompleter(new ArrayList<>()); private boolean commandGroups = true;