Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 371442 Details for
Bug 503068
app-shells/bash - sane bash defaults
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bashrc.patch
bashrc.patch (text/plain), 925 bytes, created by
three sixes
on 2014-02-28 17:31:50 UTC
(
hide
)
Description:
bashrc.patch
Filename:
MIME Type:
Creator:
three sixes
Created:
2014-02-28 17:31:50 UTC
Size:
925 bytes
patch
obsolete
>--- bashrc 2014-02-28 07:18:38.079771357 -0500 >+++ bashrc.sane 2014-02-28 07:23:27.579565292 -0500 >@@ -60,11 +60,17 @@ > fi > > if [[ ${EUID} == 0 ]] ; then >- PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] ' >+ PS1='\[\e[01;31m\]\u@\h\[\e[01;31m\] [ \[\e[0m\]\w\[\e[1;31m\] ] \$\[\033[0m\] ' > else >- PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] ' >+ PS1='\[\e[01;32m\]\u@\h\[\e[01;32m\] [ \[\e[0m\]\w\[\e[1;32m\] ] \$\[\033[0m\] ' > fi > >+ alias sudo='sudo ' >+ alias rm='rm -i' >+ alias cp='cp -i' >+ alias mv='mv -i' >+ alias ping='ping -c 5' >+ alias emerge='emerge --ask-enter-invalid -av' > alias ls='ls --color=auto' > alias grep='grep --colour=auto' > alias egrep='egrep --colour=auto' >@@ -72,9 +78,9 @@ > else > if [[ ${EUID} == 0 ]] ; then > # show root@ when we don't have colors >- PS1='\u@\h \W \$ ' >+ PS1='\u@\h [ \w ] \$ ' > else >- PS1='\u@\h \w \$ ' >+ PS1='\u@\h [ \w ] \$ ' > 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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 503068
:
371442
|
371444