ich habe mir eine ~.bashrc eingerichtet.
Code: Select all
export PS1="\t \033[35m\] \w\n\033[1;34m\]\u@\h\033[0m\] $:"
if [ `/usr/bin/whoami` = 'root' ]
then
PS1="\t \033[35m\] \w\n\033[1;31m\]\u\033[0m\]@\033[34m\]\h\033[0m\] $:"
fi
alias ls="ls --color"
alias dir="dir --color"
Code: Select all
export PS1="\t \033[35m\] \w\n\033[1;34m\]\u@\h\033[0m\] $:"
Code: Select all
if [ `/usr/bin/whoami` = 'root' ]
then
export PS1="\t \033[35m\] \w\n\033[1;31m\]\u\033[0m\]@\033[34m\]\h\033[0m\] $:"
fi
ich nutze die bash unter kde, vielleicht hat es ja auch damit zu tun.
danke