Skip to content

Use bleeding edge reedline, with fix for #5593#5598

Merged
sholderbach merged 1 commit intonushell:mainfrom
sholderbach:fix-5593
May 20, 2022
Merged

Use bleeding edge reedline, with fix for #5593#5598
sholderbach merged 1 commit intonushell:mainfrom
sholderbach:fix-5593

Conversation

@sholderbach
Copy link
Copy Markdown
Member

Description

Fixes #5593

OOM introduced with #5587 when no config was present and an attempt was
made to allocate all memory in advance

Includes also other changes to reedline:

  • Vi word definition fixed and w and e work as expected

Tests

Make sure you've run and fixed any issues with these commands:

  • cargo fmt --all -- --check to check standard code formatting (cargo fmt --all applies these changes)
  • cargo clippy --workspace --features=extra -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect to check that you're using the standard code style
  • cargo test --workspace --features=extra to check that all the tests pass

Fixes nushell#5593

OOM introduced with nushell#5587 when no config was present and an attempt was
made to allocate all memory in advance

Includes also other changes to reedline:
- Vi word definition fixed and `w` and `e` work as expected
@sholderbach sholderbach merged commit 06199d7 into nushell:main May 20, 2022
@sholderbach sholderbach deleted the fix-5593 branch May 20, 2022 15:35
fennewald pushed a commit to fennewald/nushell that referenced this pull request Jun 27, 2022
Fixes nushell#5593 (OOM introduced with nushell#5587 when no config was present and an attempt was
made to allocate all memory in advance)

Includes also other changes to reedline:

- Vi word definition fixed and `w` and `e` work as expected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cargo run resulting in panic

1 participant