diff --git a/src/complete_shell.rs b/src/complete_shell.rs index f845d157..9fdbc3de 100644 --- a/src/complete_shell.rs +++ b/src/complete_shell.rs @@ -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 {