Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. # if the command-not-found package is installed, use it
  2. #if [ -x /usr/lib/command-not-found -o -x /usr/share/command-not-found ]; then
  3. # function command_not_found_handle {
  4. # # check because c-n-f could've been removed in the meantime
  5. # if [ -x /usr/lib/command-not-found ]; then
  6. # /usr/bin/python /usr/lib/command-not-found -- $1
  7. # return $?
  8. # elif [ -x /usr/share/command-not-found ]; then
  9. # /usr/bin/python /usr/share/command-not-found -- $1
  10. # return $?
  11. # else
  12. # return 127
  13. # fi
  14. # }
  15. #fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement