Update prompt definition for bash

This commit is contained in:
Daniel - 2019-06-01 21:45:25 +02:00
parent 57f86cf150
commit be5b07d9d1
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 2 additions and 2 deletions

4
bashrc
View File

@ -33,8 +33,8 @@ bind '"\en": history-search-forward'
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
# Simple prompt in the form of user@host:dir, with trailing newline
PS1="\u@\h:\w\a\]\n-\$ "
# Simple prompt
PS1="┌[\e[0;32m\u@\h\e[m] [\e[0;31m\w\e[m] [\t]\n└── "
# Enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then