Debian: Bash Autokomplettierung aktivieren

Die Autokomplettierung von bash ist unter Debian 8 standardmäßg deaktiviert. In diesem Beitrag zeige ich wie ihr die Bash Autokomplettierung aktiviert.

# nano /etc/bash.bashrc

Dort bei dem folgenden Abschnitt die Doppelkreuze entfernen

# enable bash completion in interactive shells
#if ! shopt -oq posix; then
# if [ -f /usr/share/bash-completion/bash_completion ]; then
# . /usr/share/bash-completion/bash_completion
# elif [ -f /etc/bash_completion ]; then
# . /etc/bash_completion
# fi
#fi

Am Ende sollte das ganze wie folgt aussehen:

# enable bash completion in interactive shells
if ! shopt -oq posix; then
 if [ -f /usr/share/bash-completion/bash_completion ]; then
 . /usr/share/bash-completion/bash_completion
 elif [ -f /etc/bash_completion ]; then
 . /etc/bash_completion
 fi
fi

Das war’s schon

Anzeige


wallpaper-1019588
KiVVON: Der Game-Changer für Content-Creators
wallpaper-1019588
Mexikanische Burrito Bowl mit Pico de Gallo (Vegan)
wallpaper-1019588
The Great Cleric: Serie wird auf Disc erscheinen
wallpaper-1019588
Why Raeliana Ended Up at the Duke’s Mansion: Disc-Release geplant