Skip to content

Commit

Permalink
Use CompletionType::List (#163)
Browse files Browse the repository at this point in the history
This is how Bash behaves, it is a lot more natural.
  • Loading branch information
certik authored Sep 27, 2024
1 parent 18c2d80 commit d6c4841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/shell/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fn init_state() -> ShellState {
async fn interactive() -> anyhow::Result<()> {
let config = Config::builder()
.history_ignore_space(true)
.completion_type(CompletionType::Circular)
.completion_type(CompletionType::List)
.build();

let mut rl = Editor::with_config(config)?;
Expand Down

0 comments on commit d6c4841

Please sign in to comment.