Unverified Commit 9a02515c authored by amnore's avatar amnore Committed by GitHub

fix(command-not-found): pass arguments correctly in NixOS (#10381)

parent 5e8905b4
...@@ -50,7 +50,7 @@ fi ...@@ -50,7 +50,7 @@ fi
# NixOS: https://github.com/NixOS/nixpkgs/tree/master/nixos/modules/programs/command-not-found # 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 if [[ -x /run/current-system/sw/bin/command-not-found ]]; then
command_not_found_handler() { command_not_found_handler() {
/run/current-system/sw/bin/command-not-found -- "$@" /run/current-system/sw/bin/command-not-found "$@"
} }
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment