Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Customizing Eterm prompt and aliases
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
hudsonhauck
Apprentice
Apprentice


Joined: 16 May 2002
Posts: 182
Location: Albany, CA

PostPosted: Sat Nov 09, 2002 9:34 am    Post subject: Customizing Eterm prompt and aliases Reply with quote

1) How do you change the Eterm prompt?
I.e. change it from something like
Quote:
user@computername workingdir $
to whatever you want. I know its possible cause I've seen it on screenshots, but I can't figure out how to do it.

2) How do you get aliases to stick in Eterm?
Everytime I set up an alias (i.e. ls='ls --color' or xterm='xterm -fg white -bg black', etc) it is only for that terminal. I know that with xterm, it reads out of .bashrc, but Eterm doesn't seem to do so. Any Ideas?

Thanks :D
_________________
Matthew Hauck
http://matthauck.blogspot.com/
Back to top
View user's profile Send private message
hudsonhauck
Apprentice
Apprentice


Joined: 16 May 2002
Posts: 182
Location: Albany, CA

PostPosted: Sat Nov 09, 2002 9:42 am    Post subject: Reply with quote

Haha. Nevermind :oops: I just went to Eterm.org and found out that Eterm is a login shell, thus it uses .bash_profile instead of .bashrc. A simple ln -s .bashrc .bash_profile solved both my problems :wink: I hope this helps someone else...
_________________
Matthew Hauck
http://matthauck.blogspot.com/
Back to top
View user's profile Send private message
vers_iq
Apprentice
Apprentice


Joined: 18 May 2002
Posts: 264

PostPosted: Sat Nov 09, 2002 12:30 pm    Post subject: Reply with quote

how about modifying .bash_profile instead of .bashrc
Back to top
View user's profile Send private message
hudsonhauck
Apprentice
Apprentice


Joined: 16 May 2002
Posts: 182
Location: Albany, CA

PostPosted: Sat Nov 09, 2002 6:41 pm    Post subject: Reply with quote

Because I had already written ~/.bashrc, so it seemed much easier to symlink it to ~/.bash_profile then to move everything to .bash_profile and symlink it to .bashrc
_________________
Matthew Hauck
http://matthauck.blogspot.com/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum