lanfuchao / zsh-templates-osx

Automatically exported from code.google.com/p/zsh-templates-osx
GNU General Public License v2.0
0 stars 0 forks source link

Whishlist: check for a command and suggest package to download case command not found #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It's not a problem actually but I found it very useful in new Ubuntu 8.04, bash 
shell.

It works like this:

alan@amadeus-linux:~$render
The program 'render' is currently not installed.  You can install it by typing:
sudo apt-get install raster3d
bash: render: command not found

How about having a similar stuff in zsh-templates-osx?

Original issue reported on code.google.com by alanwil...@gmail.com on 30 Apr 2008 at 10:44

GoogleCodeExporter commented 9 years ago
Sounds good, but it requires knowing what gets put in /sw/bin for each 
uninstalled package.  I guess there must 
be a debian way to do this fast enough to make completion useful, but will have 
to look into how they do it for 
bash.

Again, sorry for not seeing this until today.

Original comment by wgsco...@mac.com on 15 Sep 2008 at 5:09