respect HISTFILE env var at startup, disable in tests
Shell: check HISTFILE env var before loading history file. Previously
always loaded ~/.fortsh_history regardless of HISTFILE setting.
Tests: set HISTFILE=/dev/null in PTY environment to prevent history
file from polluting per-test history. Fixes history test 5 (up arrow
at boundary recalled commands from previous sessions).
Also restore clear_buffer in non-marker sync path to fix history
tests 8, 11, 12.
always loaded ~/.fortsh_history regardless of HISTFILE setting.
Tests: set HISTFILE=/dev/null in PTY environment to prevent history
file from polluting per-test history. Fixes history test 5 (up arrow
at boundary recalled commands from previous sessions).
Also restore clear_buffer in non-marker sync path to fix history
tests 8, 11, 12.
- SHA
e965d9feff4efbf01eb57bccbfc4d9050dbbe12c- Parents
-
58c634e - Tree
4464160