We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since our images are so minimal, it would be very useful for them to all support ubuntu command-not-found. Here's how that would work:
sudo apt-get install command-not-found sudo apt-get update
then have to put this in some bashrc location:
command_not_found_handle () { if [ -x /usr/lib/command-not-found ]; then /usr/lib/command-not-found -- "$1"; return $?; else if [ -x /usr/share/command-not-found/command-not-found ]; then /usr/share/command-not-found/command-not-found -- "$1"; return $?; else printf "%s: command not found\n" "$1" 1>&2; return 127; fi; fi }
NOTE: we have to be careful to have "apt-get update" NOT delete its cache, or run it again on startup or something.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Since our images are so minimal, it would be very useful for them to all support ubuntu command-not-found. Here's how that would work:
then have to put this in some bashrc location:
NOTE: we have to be careful to have "apt-get update" NOT delete its cache, or run it again on startup or something.
The text was updated successfully, but these errors were encountered: