Difference between revisions of "Bash-completion"

From CBLFS
Jump to navigationJump to search
m
Line 25: Line 25:
 
  cp -v bash_completion /etc/ &&
 
  cp -v bash_completion /etc/ &&
 
  install -d /etc/bash_completion.d &&
 
  install -d /etc/bash_completion.d &&
  cp -v contrib/* /etc/bash_completion.d &&
+
install -d /usr/share/bash-completion &&
 +
  cp -v contrib/* /usr/share/bash-completion/ &&
 
  install -d /usr/share/doc/bash-completion &&
 
  install -d /usr/share/doc/bash-completion &&
 
  cp -v README /usr/share/doc/bash-completion/
 
  cp -v README /usr/share/doc/bash-completion/
Line 38: Line 39:
 
|-valign="top"
 
|-valign="top"
 
! Installed Programs:
 
! Installed Programs:
| 70-bash_completion.sh, bash_completion
+
| None
 
|-valign="top"
 
|-valign="top"
 
! Installed Libraries:
 
! Installed Libraries:
Line 44: Line 45:
 
|-valign="top"
 
|-valign="top"
 
! Installed Directories:
 
! Installed Directories:
| /usr/share/doc/bash-completion
+
| /etc/bash_completion.d, /usr/share/bash-completion/, /usr/share/doc/bash-completion
 
|}
 
|}

Revision as of 17:51, 7 May 2008

Download Source: http://www.caliban.org/files/bash/bash-completion-20060301.tar.gz

Introduction to Bash-completion

Programmable bash completion. It's much easier to demonstrate programmable completion than it is to explain it :)

Project Homepage: http://www.caliban.org/bash/index.shtml#completion

Dependencies

Non-Multilib

Multilib

32Bit

N32

64Bit

This package does not provide any libraries so only one installation is needed.

Install the package

install -m644 bash_completion.sh /etc/profile.d/70-bash_completion.sh &&
cp -v bash_completion /etc/ &&
install -d /etc/bash_completion.d &&
install -d /usr/share/bash-completion &&
cp -v contrib/* /usr/share/bash-completion/ &&
install -d /usr/share/doc/bash-completion &&
cp -v README /usr/share/doc/bash-completion/

To try out completion in an already open shell, execute the following command:

. /etc/bash_completion

Contents

Installed Programs: None
Installed Libraries: None
Installed Directories: /etc/bash_completion.d, /usr/share/bash-completion/, /usr/share/doc/bash-completion