Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

history bang #4735

Merged
merged 2 commits into from
Mar 5, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
history bang
  • Loading branch information
elferherrera committed Mar 5, 2022
commit 6e92ebde6f9da8fe61153524b9cf37a092997608
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/sample_config/default_config.nu
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ let $config = {
}
history_config: {
page_size: 10
selector: ":"
selector: "!"
text_style: green
selected_text_style: green_reverse
marker: "? "
Expand Down
2 changes: 1 addition & 1 deletion src/reedline_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ pub(crate) fn add_history_menu(line_editor: Reedline, config: &Config) -> Reedli
{
Some(value) => {
let char = value.chars().next().unwrap_or(':');
history_menu.with_row_char(char)
history_menu.with_selection_char(char)
}
None => history_menu,
};
Expand Down