mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
command-not-found: fix zsh exit code
This commit is contained in:
parent
fd3d62bcdf
commit
52fc21b10f
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,8 @@ in
|
|||
# Retry the command if we just installed it.
|
||||
if [ $? = 126 ]; then
|
||||
"$@"
|
||||
else
|
||||
return 127
|
||||
fi
|
||||
else
|
||||
# Indicate than there was an error so ZSH falls back to its default handler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue