-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pavol Rusnak schreef: | 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). | If i am understanding this correctly, you say, bash is gonna help, instead of treat you like a fool in the nearby future? It will actualy try to understand what you want, instead of the much too easy command_not_found answer? This would be great! Attaching the handler to another shell to provide some options, is very bright also, imho. - -- Have a nice day, M9. Now, is the only time that exists. ~ Besturingssysteem: Linux 2.6.22.17-0.1-default x86_64 ~ Current user: monkey9@AMD64x2-sfn1 ~ System: openSUSE 10.3 (x86_64) ~ KDE: 4.0.1 (KDE 4.0.1) "release 9.1" ~ OS: Linux 2.6.22.17-0.1-default x86_64 ~ Huidige gebruiker: monkey9@AMD64x2-sfn1 ~ Systeem: openSUSE 10.3 (x86_64) ~ KDE: 3.5.7 "release 72.6" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHxoPqX5/X5X6LpDgRArbSAJ4zzQ/h4U6DbjdpAFuaxLt7RDohuQCeI5XY nYoxvMtHON5CT5ILWQkyK3A= =h8Z8 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org