Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 16393 Details for
Bug 26952
PS1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/etc/bashrc that contains the old content of /etc/skel/bashrc, plus colored PS1
bashrc (text/plain), 1.00 KB, created by
Toby Dickenson
on 2003-08-20 16:29:29 UTC
(
hide
)
Description:
/etc/bashrc that contains the old content of /etc/skel/bashrc, plus colored PS1
Filename:
MIME Type:
Creator:
Toby Dickenson
Created:
2003-08-20 16:29:29 UTC
Size:
1.00 KB
patch
obsolete
># /etc/bashrc: ># $Header: $ > ># This file is sourced by the default ~/.bashall, for all *interactive* ># bash shells. The default ~/.bash_profile sources ~/.bashrc too, for ># login bash shells. > ># This file *should generate no output* or it will break the scp and ># rcp commands. > ># colors for ls, etc. >eval `dircolors -b /etc/DIR_COLORS` >alias d="ls --color" >alias ls="ls --color=auto" >alias ll="ls --color -l" > ># Change the window title of X terminals >case $TERM in > xterm*|rxvt|Eterm|eterm) > PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"' > ;; > screen) > PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"' > ;; >esac > ># Set colorful PS1 only on colorful terminals >if dircolors --print-database|grep -q \^TERM.$TERM\$ && [ -n "$BASH" ] >then > if [ `/usr/bin/whoami` = 'root' ] > then > export PS1='\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]\' > else > export PS1='\[\033[01;32m\]\u@\h \[\033[01;34m\]\W \$ \[\033[00m\]' > fi >fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 26952
:
16391
|
16392
| 16393 |
36799