thenktor wrote:EDIT2: SuSE uses a red root prompt. Done by this:
thenktor wrote:EDIT2: SuSE uses a red root prompt. Done by this:
thenktor wrote:
...
EDIT2: SuSE uses a red root prompt. Done by this:
- Code: Select all
# Colored root prompt (see bugzilla #144620)
if test "$UID" -eq 0 -a -t ; then
_bred="$(path tput bold 2> /dev/null; path tput setaf 1 2> /dev/null)"
_sgr0="$(path tput sgr0 2> /dev/null)"
PS1="\[$_bred\]$PS1\[$_sgr0\]"
unset _bred _sgr0
fi
export PS1='\[\033[01;31m\]\u[\W]\$\[\033[00m\] '
PS1="$(print '%{\e[1;30m%}-%{\e[0m%}')$(print '%{\e[0;31m%}-%{\e[0m%}')$(print '%{\e[1;31m%}(%{\e[0m%}')$(print '%{\e[0;31m%}%n%{\e[0m%}')$(print '%{\e[1;30m%}@%{\e[0m%}')$(print '%{\e[0;31m%}%m%{\e[0m%}')$(print '%{\e[1;31m%})%{\e[0m%}')$(print '%{\e[;31m%}-%{\e[0m%}')$(print '%{\e[1;31m%}(%{\e[0m%}')$(print '%{\e[0;31m%}%!%{\e[0m%}')$(print '%{\e[1;30m%}/%{\e[0m%}')$(print '%{\e[0;31m%}%l%{\e[0m%}')$(print '%{\e[1;31m%})%{\e[0m%}')$(print '%{\e[0;31m%}-%{\e[0m%}')$(print '%{\e[1;31m%}(%{\e[0m%}')$(print '%{\e[0;31m%}%T%{\e[0m%}')$(print '%{\e[1;30m%}:%{\e[0m%}')$(print '%{\e[0;31m%}%D{%d/%m/%y}%{\e[0m%}')$(print '%{\e[1;31m%})%{\e[0m%}')$(print '%{\e[0;31m%}-%{\e[0m%}')$(print '%{\e[1;30m%}-%{\e[0m%}')
$(print '%{\e[1;30m%}-%{\e[0m%}')$(print '%{\e[0;31m%}-%{\e[0m%}')$(print '%{\e[1;31m%}(%{\e[0m%}')$(print '%{\e[0;31m%}%#%{\e[0m%}')$(print '%{\e[1;30m%}:%{\e[0m%}')$(print '%{\e[0;31m%}%~%{\e[0m%}')$(print '%{\e[1;31m%})%{\e[0m%}')$(print '%{\e[0;31m%}-%{\e[0m%}')$(print '%{\e[1;30m%}-%{\e[0m%}') "PS1="$(print '%{\e[0;36m%}%n%{\e[0m%}')$(print '%{\e[1;36m%}')@$(print '%{\e[0;36m%}%m%{\e[0m%}'):$(print '%{\e[1;36m%}%~%{\e[0m%}')%# "
RPS1="$(print '%{\e[0;36m%}.%{\e[1;36m%}:%{\e[0;36m%}%*') on $(print '%{\e[0;36m%}%D%{\e[0m%}%{\e[1;36m%}:%{\e[0;36m%}.%{\e[0m%}')"

fredg wrote:I would say that startup script have to be minimals and then set by the user himself but yours (lmello) are just not so intrusive, they are just the less they're should be.
I vote yes.
++

gapan wrote:I certainly don't want rm/mv/cp to ask me for every file I'm about to delete/move/copy
thenktor wrote:gapan wrote:I certainly don't want rm/mv/cp to ask me for every file I'm about to delete/move/copy
Yes, that really sucksBut I'm using verbose output for these commands now.