From c11ed6f2475f1897cc033296532f0b3d24be7e5d Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Thu, 1 Mar 2018 10:40:19 +0100 Subject: [PATCH] Bash: include completion, if availiable --- shells/bashrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shells/bashrc b/shells/bashrc index f0d834b..3b736f1 100644 --- a/shells/bashrc +++ b/shells/bashrc @@ -83,6 +83,10 @@ if [ -n "$SSH_CLIENT" ]; then text=" ssh-session" fi export PS1='\[\e[1;32m\]\u@\h:\w${text}$\[\e[m\] ' +# Enable bash completion +if [ -f /etc/bash_completion ]; then + . /etc/bash_completion +fi # PS1='[\u@\h \W]\$ ' PS1='\[\e[1;36m\]\h \[\e[1;31m\]\t \d \[\e[m\]\[\e[1;32m\]\w \[\e[m\]\n \[\e[1;35m\]\u\[\e[1;33m\] >\[\e[m\] ' #powerline-daemon -q