command-not-found: Fix nix-env invocation

This commit is contained in:
Eelco Dolstra
2015-09-02 19:48:52 +02:00
parent 190a49e046
commit c090efb9d8
2 changed files with 5 additions and 5 deletions

View File

@@ -57,9 +57,9 @@ in
if [ $? = 126 ]; then
"$@"
fi
else
else
# Indicate than there was an error so ZSH falls back to its default handler
return 127
return 127
fi
}
'';