├── README.markdown ├── command-not-found.plugin.zsh └── LICENSE.txt /README.markdown: -------------------------------------------------------------------------------- 1 | Want the *command-not-found* plugin from *oh-my-zsh* but not *oh-my-zsh* itself? Then you've found your repository! 2 | 3 | Status: As of August 2016 I still use this and it works for me on Ubuntu 14.04LTS! :) (so don't worry about ancient commit dates) 4 | -------------------------------------------------------------------------------- /command-not-found.plugin.zsh: -------------------------------------------------------------------------------- 1 | # Uses the command-not-found package zsh support 2 | # as seen in http://www.porcheron.info/command-not-found-for-zsh/ 3 | # this is installed in Ubuntu 4 | 5 | [[ -e /etc/zsh_command_not_found ]] && source /etc/zsh_command_not_found 6 | 7 | # Arch Linux command-not-found support, you must have package pkgfile installed 8 | # https://wiki.archlinux.org/index.php/Pkgfile#.22Command_not_found.22_hook 9 | [[ -e /usr/share/doc/pkgfile/command-not-found.zsh ]] && source /usr/share/doc/pkgfile/command-not-found.zsh 10 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2013 Arash Rouhani 4 | 5 | Copyright (c) 2009-2013 Robby Russell and contributors (see https://github.com/robbyrussell/oh-my-zsh/contributors) 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy 8 | of this software and associated documentation files (the "Software"), to deal 9 | in the Software without restriction, including without limitation the rights 10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | copies of the Software, and to permit persons to whom the Software is 12 | furnished to do so, subject to the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be included in 15 | all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | THE SOFTWARE. 24 | 25 | --------------------------------------------------------------------------------