String historyDisabled = System.getProperty("aesh.historydisabled");
if(historyDisabled != null && historyDisabled.length() > 0)
if(historyDisabled.equalsIgnoreCase("true") ||
historyDisabled.equalsIgnoreCase("false"))
builder.disableHistory(Boolean.parseBoolean(historyDisabled));
String historySize = System.getProperty("aesh.historysize");
if(historySize != null && historySize.length() > 0)
builder.historySize(Integer.parseInt(historySize));