Bash: include completion, if availiable

This commit is contained in:
Marcel Kapfer 2018-03-01 10:40:19 +01:00
parent 2cb5cd2db7
commit c11ed6f247
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -83,6 +83,10 @@ if [ -n "$SSH_CLIENT" ]; then text=" ssh-session"
fi fi
export PS1='\[\e[1;32m\]\u@\h:\w${text}$\[\e[m\] ' 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='[\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\] ' 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 #powerline-daemon -q