Skip to content

Commit

Permalink
Merge pull request #311 from akinomyoga/patch-1
Browse files Browse the repository at this point in the history
Fix syntax error in Bash completion
  • Loading branch information
pacak authored Oct 28, 2023
2 parents 8c0e359 + 9e1b520 commit a8400a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/complete_shell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ pub(crate) fn render_bash(
let mut res = String::new();

if items.is_empty() && ops.is_empty() {
return Ok(format!("COMPREPLY += ( {:?})\n", full_lit));
return Ok(format!("COMPREPLY+=( {:?})\n", full_lit));
}

for op in ops {
Expand Down

0 comments on commit a8400a8

Please sign in to comment.