···11{|cmd_name|
22 try {
33- let attrs = (nix-locate --minimal --no-group --type x --type s --top-level --whole-name --at-root $"/bin/($cmd_name)")
33+ let attrs = (nix-locate --minimal --no-group --type x --type s --whole-name --at-root $"/bin/($cmd_name)")
44 let len = (echo $attrs | split row "\n" | length)
5566 if $len == 0 {
···99 return $"\nThe program ($cmd_name) is not installed, but available from the following location\(s\):\n\n($attrs | str replace ".out" "")"
1010 }
1111 }
1212-}1212+}