Author | Message |
drcrazy |
#105 03/12/2014 13:59 GMT |
Edit ~/.bashrc
Code: if [ "$color_prompt" = yes ]; then
# ANSI color codes RS="\[\033[0m\]" # reset HC="\[\033[1m\]" # hicolor INV="\[\033[7m\]" # inverse background and foreground FBLK="\[\033[30m\]" # foreground black FRED="\[\033[31m\]" # foreground red FGRN="\[\033[32m\]" # foreground green FYEL="\[\033[33m\]" # foreground yellow FBLE="\[\033[34m\]" # foreground blue FMAG="\[\033[35m\]" # foreground magenta FWHT="\[\033[37m\]" # foreground white # PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\] \$ ' PS1="$HC[$FMAG\A$FWHT] $FYEL[$FBLE${debian_chroot:+($debian_chroot)}\u$FGRN@\h$FYEL:$FBLE\w$FYEL]\\$ $RS" PS2="$HC$FYEL> $RS" else PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' fi |
|
The pleasure of satisfying a savage instinct, undomesticated by the ego, is incomparably much more intense then the one of satisfying a tamed instinct. S.Freud.
|
|
drcrazy |
#110 15/07/2017 23:15 GMT |
User:
export PS1="[\[\e[32;1m\]\u\[\e[m\]@\h]\[\e[33m\]\w\[\e[m\]\[\e[32;1m\]\\$\[\e[m\] " Root: export PS1="[\[\e[31;1m\]\u\[\e[m\]@\h]\w \[\e[31;1m\]\\$\[\e[m\] " |
|
The pleasure of satisfying a savage instinct, undomesticated by the ego, is incomparably much more intense then the one of satisfying a tamed instinct. S.Freud.
|