aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--atuin/src/shell/atuin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/atuin/src/shell/atuin.zsh b/atuin/src/shell/atuin.zsh
index 430067b2..d5277f4b 100644
--- a/atuin/src/shell/atuin.zsh
+++ b/atuin/src/shell/atuin.zsh
@@ -15,7 +15,7 @@ zmodload zsh/datetime 2>/dev/null
# you'd like to override this, then add your config after the $(atuin init zsh)
# in your .zshrc
_zsh_autosuggest_strategy_atuin() {
- suggestion=$(atuin search --cmd-only --limit 1 --search-mode prefix "$1")
+ suggestion=$(atuin search --cmd-only --limit 1 --search-mode prefix -- "$1")
}
if [ -n "${ZSH_AUTOSUGGEST_STRATEGY:-}" ]; then