GitXplorerGitXplorer
z

command-not-found

public
9 stars
1 forks
4 issues

Commits

List of commits on branch master.
Unverified
22e821b87d26403dd070a59ff470befb3ef0131c

Avoid using sort(cmp=...) and cmp().

committed 13 years ago
Unverified
f26f1c477b6d414d20bd746bcbce8f1e6c97c164

Rely on /usr/lib/command-not-found's #! line rather than explicitly invoking it with /usr/bin/python.

ccjwatson committed 13 years ago
Unverified
858bb97335db79ce874033b4d1a849e2bad5d879

Push key encoding down to BinaryDatabase.lookup rather than doing it at the top level, since otherwise we have to deal with bytes in a number of places where it's inconvenient.

ccjwatson committed 13 years ago
Unverified
b58dd47405a10e234f27f346f49d266c3e283ad1

Avoid using relative imports.

ccjwatson committed 13 years ago
Unverified
f6db7dbf036bd457efad9560fcf955879c674631

Only encode sys.argv elements in Python 2, not Python 3.

ccjwatson committed 13 years ago
Unverified
3803fbf14f6270a589698334d2085a373b457ae6

In Python 3, use .gettext rather than .ugettext.

ccjwatson committed 13 years ago

README

The README file for this repository.

This application implements the command-not-found spec at: https://wiki.ubuntu.com/CommandNotFoundMagic

If you want automatic prompts to install the package, set COMMAND_NOT_FOUND_INSTALL_PROMPT in your environment.

To use it in bash, please add the following line to your .bashrc file: . /etc/bash_command_not_found

To use it in zsh, please add the following line to your .zshrc file: . /etc/zsh_command_not_found Note that it overrides the preexec and precmd functions, in case you have defined your own.