Bug 145657 - shells/zsh: The completion for mount(8) doesn't include the output from `glabel list'
Summary: shells/zsh: The completion for mount(8) doesn't include the output from `glab...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Baptiste Daroussin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-12 18:10 UTC by Frédéric Perrin
Modified: 2011-02-28 10:24 UTC (History)
0 users

See Also:


Attachments
file.diff (413 bytes, patch)
2010-04-12 18:10 UTC, Frédéric Perrin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Perrin 2010-04-12 18:10:01 UTC
The zsh port (zsh-4.3.10_3 right now) installs a couple of FreeBSD-specific completion functions. One of them, for mount(8), gives the list of devices that may be mounted (as the first argument to mount).  The output from `glabel list' should be included, but isn't because of a typo.

Additionnaly, `glabel list|grep Name' doesn't include the /dev prefix; this may be because of a change in the way `glabel' prints its information (FreeBSD 7.2 RELEASE doesn't either; I'm too young to remember older releases).

How-To-Repeat: Make sure you have a device such as `/dev/ufs/something', not listed in /etc/fstab/.

Using zsh-4.3.10_3, type `mount /dev/[TAB]'. `/dev/ufs/something' should be suggested for completion, but isn't.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-04-12 19:37:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->des

Fix synopsis and assign.
Comment 2 Baptiste Daroussin freebsd_committer freebsd_triage 2011-02-28 07:30:04 UTC
Responsible Changed
From-To: des->bapt

I'll take it.
Comment 3 Baptiste Daroussin freebsd_committer freebsd_triage 2011-02-28 10:24:34 UTC
State Changed
From-To: open->closed

Committed. Thanks!