Bash Completion unter Debian Etch

Posted on the June 28th, 2007 under howtos by matthias

Die Autovervollständigung ist schon eine sehr hilfreiche Funktion der Bourne Again Shell. Um diese unter Debian Etch einzusetzen, muss folgender Eintrag in der eigenen .bash_profile bzw. systemweiten /etc/profile gemacht werden:

[sourcecode language="css"]if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi[/sourcecode]

Nach einem erneuten Login bzw. Laden der .bash_profile hat man eine vollständige Auto-Completion, die u.a. mit apt-get und aptitude funktioniert. Einmal daran gewöhnt, möchte man diese Erleichterung nicht mehr missen.

|

4 Responses to 'Bash Completion unter Debian Etch'

  1. 28. June 2007 at 18:37
    Stephan
  2. 28. June 2007 at 18:45
    matthias
  3. 28. June 2007 at 19:18
    pfleidi
  4. 28. June 2007 at 19:20
    matthias

Leave a Reply




XHTML::
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>