command not found doesn't suggest builtins

Bug #1429712 reported by Lyn Perrine
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
command-not-found (Ubuntu)
New
Undecided
Unassigned

Bug Description

Steps to reproduce open a terminal and type `ccd` and read that cd is not in the list of commands not found.

command-not-found-data:
  Installed: 0.3ubuntu15.1
  Candidate: 0.3ubuntu15.1
  Version table:
 *** 0.3ubuntu15.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
        100 /var/lib/dpkg/status
Description: Ubuntu Vivid Vervet (development branch)
Release: 15.04

I expected when I mistyped `ccd` in the terminal that command-not-found would suggest cd as a command rather than the output of
No command 'ccd' found, did you mean:
 Command 'cccd' from package 'cccd' (universe)
 Command 'ccl' from package 'cclive' (universe)
 Command 'mcd' from package 'mtools' (main)
 Command 'hcd' from package 'hfsutils' (main)
 Command 'cc' from package 'clang' (universe)
 Command 'cc' from package 'gcc' (main)
 Command 'cc' from package 'clang-3.3' (universe)
 Command 'cc' from package 'tcc' (universe)
 Command 'cdcd' from package 'cdcd' (universe)
 Command 'bcd' from package 'bsdgames' (universe)
ccd: command not found

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: command-not-found-data 0.3ubuntu15.1
ProcVersionSignature: Ubuntu 3.19.0-7.7-generic 3.19.0
Uname: Linux 3.19.0-7-generic x86_64
ApportVersion: 2.16.2-0ubuntu1
Architecture: amd64
CurrentDesktop: LXDE
Date: Sun Mar 8 21:56:16 2015
Dependencies:

InstallationDate: Installed on 2014-09-30 (159 days ago)
InstallationMedia: Lubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140930)
SourcePackage: command-not-found
UpgradeStatus: Upgraded to vivid on 2014-12-12 (86 days ago)

Revision history for this message
Lyn Perrine (walterorlin) wrote :
Revision history for this message
Lyn Perrine (walterorlin) wrote :

Also pcd or other things seems to list cd as well and jlbs doesn't suggest jobs so it seems none of the builtin funcitons to bash are suggested.

summary: - command not found doesn't suggest cd when I make the typo ccd
+ command not found doesn't suggest builtins
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.