Zsh

command-not-found works only in zsh after editing .zshrc

Bug #179176 reported by Kai Wilker
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zsh
Confirmed
Wishlist
Unassigned

Bug Description

Hi!
Yesterday I noticed that command-not-found doesn't work in zsh. Then I've downloaded the source of your program and saw the file called zsh_command_not_found. After I've written the content of this file into my .zshrc it worked! It would be nice if command-not-found would be working in zsh without editing the .zshrc.

My zsh version is 4.3.4-14-ubuntu2, my command-not-found version 0.2.8ubuntu2. My OS is Ubuntu Gutsy Gibbon.

Bye,
Kai Wilker

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Re assignig to zsh as it depends on editing zsh-supplied configuration file (/etc/zsh/zprofile). I would like to suggest doing the same trick as with bash - adding the code to system-wide profile file only when command-not-found is installed (/usr/lib/command-not-found exists).

Changed in command-not-found:
importance: Undecided → Wishlist
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.