mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
Fixed incorrect reference to XONSH_HIST_SIZE
This commit is contained in:
parent
ee3258e1aa
commit
5157345282
3 changed files with 26 additions and 3 deletions
|
@ -87,9 +87,9 @@ v0.9.19
|
|||
* JsonHistoryGC: display following warning when garbage collection would delete "too" much data and don't delete anything.
|
||||
|
||||
"Warning: History garbage collection would discard more history ({size_over} {units}) than it would keep ({limit_size}).\n"
|
||||
"Not removing any history for now. Either increase your limit ($XONSH_HIST_SIZE), or run ``history gc --force``.",
|
||||
"Not removing any history for now. Either increase your limit ($XONSH_HISTORY_SIZE), or run ``history gc --force``.",
|
||||
|
||||
It is displayed when the amount of history on disk is more than double the limit configured (or defaulted) for $XONSH_HIST_SIZE.
|
||||
It is displayed when the amount of history on disk is more than double the limit configured (or defaulted) for $XONSH_HISTORY_SIZE.
|
||||
* $LS_COLORS code 'mh' now recognized for (multi) hard-linked files.
|
||||
* $LS_COLORS code 'ca' now recognized for files with security capabilities (linux only).
|
||||
* CI step to run flake8 after pytest.
|
||||
|
|
23
news/incorrect-XONSH_HIST_SIZE-env.rst
Normal file
23
news/incorrect-XONSH_HIST_SIZE-env.rst
Normal file
|
@ -0,0 +1,23 @@
|
|||
**Added:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Changed:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Deprecated:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Removed:**
|
||||
|
||||
* <news item>
|
||||
|
||||
**Fixed:**
|
||||
|
||||
* Fixed incorrect reference to XONSH_HIST_SIZE instead of XONSH_HISTORY_SIZE
|
||||
|
||||
**Security:**
|
||||
|
||||
* <news item>
|
|
@ -162,7 +162,7 @@ class JsonHistoryGC(threading.Thread):
|
|||
else:
|
||||
print(
|
||||
f"Warning: History garbage collection would discard more history ({size_over} {units}) than it would keep ({hsize}).\n"
|
||||
"Not removing any history for now. Either increase your limit ($XONSH_HIST_SIZE), or run `history gc --force`."
|
||||
"Not removing any history for now. Either increase your limit ($XONSH_HISTORY_SIZE), or run `history gc --force`."
|
||||
)
|
||||
|
||||
def files(self, only_unlocked=False):
|
||||
|
|
Loading…
Add table
Reference in a new issue