»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 12-14-2003, 11:26 AM   #1 (permalink)
Registered User
 
Join Date: Apr 2002
Posts: 35
TeRG is on a distinguished road
Send a message via AIM to TeRG
customizing bash

i have customized my bash profile thing, so it looks like I want it to.

All except for when i change users, it goes back to bash-2.05b$.

I saved it to /etc/profile so it starts out with the prompt i like every time, but How do i make it so it goes to if i were to start bash from another shell, or su to another user?

the other thing it does to me is, when a shell starts, it pukes out a bunch of stuff like:
Code:
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x TERM="xterm"
declare -x USER="nick"
declare -x XINITRC="/etc/X11/xinit/xinitrc"
for those of you who want to see what i have it looking like, you can check out http://206.146.80.74/img/bash.jpg

TeRG is offline   Reply With Quote
Old 12-14-2003, 01:46 PM   #2 (permalink)
Registered User
 
Praetorian's Avatar
 
Join Date: Oct 2001
Location: Yuma, AZ
Posts: 2,484
Praetorian is on a distinguished road
Send a message via ICQ to Praetorian Send a message via AIM to Praetorian Send a message via Yahoo to Praetorian
Dig around in ~/.bash_profile, or ~/.bashrc. You should find your stuff in there
Praetorian is offline   Reply With Quote
Old 12-14-2003, 01:49 PM   #3 (permalink)
Registered User
 
linux_guru's Avatar
 
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 1,193
linux_guru is on a distinguished road
The best way to customise bash is to remove (or disable) it and install PDKSH.
linux_guru is offline   Reply With Quote
Old 12-14-2003, 02:10 PM   #4 (permalink)
Registered User
 
pbharris's Avatar
 
Join Date: Oct 2001
Location: Chicago, IL
Posts: 2,403
pbharris is on a distinguished road
Send a message via ICQ to pbharris Send a message via AIM to pbharris Send a message via Yahoo to pbharris
/etc/bashrc

hows ya doing Terg?
__________________
I don't use Linux because I hate Windows (which I do) I use Linux because I like it.
play mtrek! telnet://mtrek.com:23
Odds are very good there are several spelling mistakes in this post.
pbharris is offline   Reply With Quote
Old 12-14-2003, 02:16 PM   #5 (permalink)
Registered User
 
pbharris's Avatar
 
Join Date: Oct 2001
Location: Chicago, IL
Posts: 2,403
pbharris is on a distinguished road
Send a message via ICQ to pbharris Send a message via AIM to pbharris Send a message via Yahoo to pbharris
/etc/bashrc

hows ya doing Terg?
__________________
I don't use Linux because I hate Windows (which I do) I use Linux because I like it.
play mtrek! telnet://mtrek.com:23
Odds are very good there are several spelling mistakes in this post.
pbharris is offline   Reply With Quote
Old 12-14-2003, 04:53 PM   #6 (permalink)
Registered User
 
Join Date: Apr 2002
Posts: 35
TeRG is on a distinguished road
Send a message via AIM to TeRG
alright, thanks guys..ill dig around some.

and im doing good, pbharris, what about you?
__________________
" I studied silence to learn the music
I joined the sinful to regain innocence"
TeRG is offline   Reply With Quote
Old 12-14-2003, 08:37 PM   #7 (permalink)
Registered User
 
pbharris's Avatar
 
Join Date: Oct 2001
Location: Chicago, IL
Posts: 2,403
pbharris is on a distinguished road
Send a message via ICQ to pbharris Send a message via AIM to pbharris Send a message via Yahoo to pbharris
good good!
__________________
I don't use Linux because I hate Windows (which I do) I use Linux because I like it.
play mtrek! telnet://mtrek.com:23
Odds are very good there are several spelling mistakes in this post.
pbharris is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 12:04 PM.