-
Bug
-
Resolution: Done
-
Major
-
0.49
-
None
-
None
I'm not sure if this is intended behavior.
In Forge, I'm attempting to do the following to reset the export file path for FORGE-1556 :
File forgeHome = OperatingSystemUtils.getUserForgeDir(); File history = new File(forgeHome, "history"); File alias = new File(forgeHome, "alias"); File export = new File(forgeHome, "export"); Settings newSettings = new SettingsBuilder(settings) .historyFile(history) .aliasFile(alias) .setExportFile(export) .create();
The .setExportFile(export) invocation fails to register the new path of the export file (~/.forge/export), since it doesn't exist yet. This is an implementation detail in the{{SettingsImpl.setExportFile()}} method.
Surprisingly enough, the default value of ~/.aesh_export also does not exist yet, but Aesh sets it as the default nevertheless. I therefore assume that this is an issue.
- blocks
-
FORGE-1556 Shell history, aliases and exported files should be placed in ~/.forge
- Closed