From 6e81709a2bcd9221feebdca74bb61ce2c98c1d88 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 17 Nov 2014 23:27:58 +0100 Subject: [PATCH] Also use bash-completion in non-login shells --- modules/debian-org/files/root-dotfiles/bashrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/debian-org/files/root-dotfiles/bashrc b/modules/debian-org/files/root-dotfiles/bashrc index 74bf5a309..78a595f8e 100644 --- a/modules/debian-org/files/root-dotfiles/bashrc +++ b/modules/debian-org/files/root-dotfiles/bashrc @@ -11,6 +11,10 @@ if [ "$PS1" ]; then alias ls='ls $LS_OPTIONS' alias ll='ls $LS_OPTIONS -l' alias l='ls $LS_OPTIONS -lA' + + if [ -f /usr/share/bash-completion/bash_completion ]; then + . /usr/share/bash-completion/bash_completion + fi fi # vim: set ft=sh ts=2 sw=2 et ai si: -- 2.20.1