Skip to content

Commit

Permalink
Revert the history.shared change.
Browse files Browse the repository at this point in the history
Live with #45 for now; changing the default is disruptive, and there's
no clear solution yet.
  • Loading branch information
chrisant996 committed Dec 30, 2020
1 parent 4f2a74f commit ae18472
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
### v1.1.17

- Added `os.getbatterystatus()` function that gets battery status information much faster than launching `wmic`.
- Changed `history.shared` to default to True (mitigates [#45](https://github.com/chrisant996/clink/issues/45) for now).
- Fixed [#44](https://github.com/chrisant996/clink/issues/44) Path completion doesn't work with `cd /d`.

### v1.1.16
Expand Down
2 changes: 1 addition & 1 deletion clink/app/src/history/history_db.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ static setting_bool g_shared(
"history.shared",
"Share history between instances",
"",
true);
false);

namespace use_get_max_history_instead {
static setting_int g_max_history(
Expand Down
2 changes: 1 addition & 1 deletion docs/clink.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Name | Default | Description
`history.ignore_space` | True | Ignore lines that begin with whitespace when adding lines in to the history.
`history.max_lines` | 2500 | The number of history lines to save if `history.save` is enabled (1 to 50000).
`history.save` | True | Saves history between sessions.
`history.shared` | True | When history is shared, all instances of Clink update the master history list after each command and reload the master history list on each prompt. When history is not shared, each instance updates the master history list on exit.
`history.shared` | False | When history is shared, all instances of Clink update the master history list after each command and reload the master history list on each prompt. When history is not shared, each instance updates the master history list on exit.
`lua.break_on_error` | False | Breaks into Lua debugger on Lua errors.
`lua.break_on_traceback` | False | Breaks into Lua debugger on `traceback()`.
`lua.debug` | False | Loads a simple embedded command line debugger when enabled. Breakpoints can be added by calling `pause()`.
Expand Down

0 comments on commit ae18472

Please sign in to comment.