View Single Post
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#7
Originally Posted by rcolistete View Post
I also use bash (but not as default shell) on Nokia N9, and the .bashrc is never rewritten. My PS1 line :


Code:
# Set colors for prompt
#
col_bold="\033[1m"
col_red="\033[1;31m"
col_green="\033[1;32m"
col_yellow="\033[1;33m"
col_blue="\033[1;34m"
col_purple="\033[1;35m"
col_cyan="\033[1;36m"
col_normal="\033[0;39m"

# Prompt Settings
# PS1
PS1="\[${col_cyan}\]\u@\h:\[${col_blue}\]\w\[${col_normal}\]\$ "
export PS1
cool! now, do you put it in /home/.bashrc, or /root/.bashrc {root's home dir}

i believe only the one in /root/.bashrc is getting rewritten for me, contrary to what i implied earlier.