Bash: include completion, if availiable
This commit is contained in:
parent
2cb5cd2db7
commit
c11ed6f247
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue