Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 526240

Summary: dev-lang/go-1.3.3: bash-completion lacks aliases (symlinks) for completed commands
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: William Hubbs <williamh>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 521146    

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.