Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526240 - dev-lang/go-1.3.3: bash-completion lacks aliases (symlinks) for completed commands
Summary: dev-lang/go-1.3.3: bash-completion lacks aliases (symlinks) for completed com...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: bashcomp2
  Show dependency tree
 
Reported: 2014-10-21 14:27 UTC by Michał Górny
Modified: 2014-10-24 17:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-10-21 14:27:29 UTC
* Problems with installed bash completions were found:
 * 
 * 	gccgo: missing alias (symlink) for completed command.
 * 	5l: missing alias (symlink) for completed command.
 * 	5g: missing alias (symlink) for completed command.
 * 	8l: missing alias (symlink) for completed command.
 * 	gofmt: missing alias (symlink) for completed command.
 * 	8g: missing alias (symlink) for completed command.
 * 	6g: missing alias (symlink) for completed command.
 * 	6l: missing alias (symlink) for completed command.
 * 
 * For more details on installing bash-completions, please see:
 * https://wiki.gentoo.org/wiki/Bash/Installing_completion_files

Long story short, completionsdir needs to have symlinks for listed commands like:

  gccgo -> go
  5l -> go
  ...

Since completion is installed downstream, you need to do:

  bashcomp_alias go gccgo 5l 5g ...
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-10-24 17:41:04 UTC
+  24 Oct 2014; Michał Górny <mgorny@gentoo.org> go-1.3.3.ebuild:
+  Alias additional commands for bash-completion, bug #526240.