wok diff bash/stuff/example.bashrc @ rev 22117

updated vsftpd (2.3.5 -> 3.0.3)
author Hans-G?nter Theisgen
date Sat Nov 02 16:53:53 2019 +0100 (2019-11-02)
parents 9496fd66a54a
children
line diff
     1.1 --- a/bash/stuff/example.bashrc	Tue Dec 18 13:18:33 2007 +0100
     1.2 +++ b/bash/stuff/example.bashrc	Sat Nov 02 16:53:53 2019 +0100
     1.3 @@ -2,8 +2,16 @@
     1.4  #
     1.5  
     1.6  if [ "`id -u`" -eq 0 ]; then
     1.7 -	PS1='\u@\h:\w\# '
     1.8 +	# Simple prompt
     1.9 +	#PS1='\u@\h:\w # '
    1.10 +	
    1.11 +	# Colored prompt
    1.12 +	PS1="\[\e[31;1m\]\u@\[\e[32;1m\]\h:\w\[\e[0m\] # "
    1.13  else
    1.14 +	# Simple prompt
    1.15 +	#PS1='\u@\h:\w $ '
    1.16 +	
    1.17 +	# Colored prompt
    1.18  	PS1="\[\e[34;1m\]\u@\[\e[32;1m\]\h:\w\[\e[0m\] $ "
    1.19  fi
    1.20