You are not logged in.

#1 2009-03-23 20:55:14

Nomadin
Member
Registered: 2009-03-10
Posts: 3

[Solved] Gnome terminal splashing LS Color commands when launched

I have done something strange to my terminal. roll When I open a new Gnome-terminal as a regular user I get:

LS_COLORS='rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:';
export LS_COLORS

This is splashed on the screen above the user prompt.  I think that I did it by typing "source ~/.bashrc" that was suggested at the end of the Color Bash Prompt wiki article.  How can I undo this?  My root terminal is still OK.

Thanks!

Last edited by Nomadin (2009-03-23 23:05:20)

Offline

#2 2009-03-23 21:14:20

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: [Solved] Gnome terminal splashing LS Color commands when launched

Close it and open a new terminal?

Offline

#3 2009-03-23 22:35:39

Nomadin
Member
Registered: 2009-03-10
Posts: 3

Re: [Solved] Gnome terminal splashing LS Color commands when launched

perbh wrote:

Close it and open a new terminal?

No luck on that...  It is there every time I launch the terminal.  It will throw that splash of stuff on any type of terminal, gnome-terminal, xfce terminal, etc.

Offline

#4 2009-03-23 22:54:18

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [Solved] Gnome terminal splashing LS Color commands when launched

Did you log out and relogin? Does the problem persist then?
If so best post your .bashrc.


To know or not to know ...
... the questions remain forever.

Offline

#5 2009-03-23 23:04:57

Nomadin
Member
Registered: 2009-03-10
Posts: 3

Re: [Solved] Gnome terminal splashing LS Color commands when launched

bernarcher wrote:

Did you log out and relogin? Does the problem persist then?
If so best post your .bashrc.

I have rebooted and tried opening terminals in different desktops environments and window managers and it is always there.  Here is my .bashrc

# Check for an interactive session
[ -z "$PS1" ] && return

alias ls='ls --color=auto'
alias p='pacman'
alias y='yaourt'
eval 'dircolors -b'
export GREP_COLOR="1;33"
alias grep='grep --color=auto'
#PS1='[\u@\h \W]\$ '
PS1='\[\e[0;32m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[m\] \[\e[1;32m\]\$ \[\e[m\]\[\e[1;37m\] '

Ha!  Thanks.  I posted the .bashrc and noticed the eval 'dircolors -b' and that is what is doing it.  Thanks for your help!

Offline

Board footer

Powered by FluxBB