You are not logged in.

#1 2011-03-23 22:43:03

oliver
Member
Registered: 2007-12-12
Posts: 448

[solved] multiple .bashrc files (or I'm looking for a way around it)

I'm playing around with having a transparent terminal on my desktop so it looks like I'm typing directly onto the screen.  This is working with no problems but now I'd like it to run fortune-mod when it's launched. 

I could just put 'fortune' in my .bashrc but I don't want it in other terminals, just this one.

I've tried running terminals with -e and -x but they exit as soon as the command completes.  I don't really care what terminal I use for this, as long as it can run a command when it's launched and not exit (and supports transparency of course)

What am I missing?

Last edited by oliver (2011-03-23 22:55:07)

Offline

#2 2011-03-23 22:50:52

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: [solved] multiple .bashrc files (or I'm looking for a way around it)

«~/.bashrc» wrote:
#...
[[ $TERM ~ (rxvt|xterm) ]] && fortume-mod
#...

Last edited by Wintervenom (2011-03-23 22:52:32)

Offline

#3 2011-03-23 22:53:16

oliver
Member
Registered: 2007-12-12
Posts: 448

Re: [solved] multiple .bashrc files (or I'm looking for a way around it)

thank you sir

Offline

Board footer

Powered by FluxBB