summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/command-not-found/command-not-found.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/command-not-found/command-not-found.plugin.zsh b/plugins/command-not-found/command-not-found.plugin.zsh
index 3ec13429c..cb96fe063 100644
--- a/plugins/command-not-found/command-not-found.plugin.zsh
+++ b/plugins/command-not-found/command-not-found.plugin.zsh
@@ -50,7 +50,7 @@ fi
# NixOS: https://github.com/NixOS/nixpkgs/tree/master/nixos/modules/programs/command-not-found
if [[ -x /run/current-system/sw/bin/command-not-found ]]; then
command_not_found_handler() {
- /run/current-system/sw/bin/command-not-found -- "$@"
+ /run/current-system/sw/bin/command-not-found "$@"
}
fi