-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Uno de suse ha hecho una cosa para que cuando escribas un programa y no esté, en vez de decirte "no encontrado" te diga cosas interesantes como que "quizás quieras decir 'esto' otro", o "debes instalar 'esto'". Os copio el anuncio abajo. - -- Saludos Carlos E.R. - ---------- Forwarded message ---------- Date: Tue, 26 Feb 2008 16:33:23 +0100 From: Pavol Rusnak <> To: opensuse-factory <> Subject: [opensuse-factory] bash extension: "command-not-found" Hello all! During Hackweek I implemented project command-not-found for openSUSE [1]. You can look at the picture [2] to get the idea. In first example, user types "epihpany" instead of "epiphany" and handler suggests correct spelling. After this, user tries running epiphany, but it is not installed, so handler shows list of packages that provide this program. In the third example, user runs program that is not found, but package providing it is installed (meaning that program is not in user's path - probably intended to be run only by root). So my question is: do you want this functionality in openSUSE 11.0? If you would like to test this feature, packages are ready in BuildService [3] or you can download them directly from repository [4]. You have to also add these 3 lines to your /etc/bash.bashrc.local file (or ~/.bashrc): if [ -f /etc/bash_command_not_found ]; then . /etc/bash_command_not_found fi If you have any ideas or in case you have found a bug, I would be glad to hear from you. Thanks in advance! Links: [1]http://idea.opensuse.org/content/ideas/command-not-found-for-opensuse [2]http://stick.gk2.sk/projects/command-not-found/cnf.png [3]https://build.opensuse.org/project/show?project=home:prusnak:command-not-fou... [4]http://download.opensuse.org/repositories/home:/prusnak:/command-not-found/ PS: The handler could be attached to any other shell which provides handling events when command is not found, not only bash (currently zsh). - -- Best Regards / S pozdravom, -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHxKh4tTMYHG2NR9URAtzcAJ9dCGthiDLypUolSk/nEsVcuv89YACaA4/3 2batJQMR5hX3C9n3n9nneOY= =6B2I -----END PGP SIGNATURE-----