Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 Oct 2014, 17:36
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
.bashrc /etc/profile
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
ccaaee

Joined: 27 Feb 2010
Posts: 23

PostPosted: Sat 10 Sep 2011, 03:21    Post_subject:  .bashrc /etc/profile
Sub_title: profile doesn't seem to work in 5.28
 

Hi

Sorry if this sounds like a stupid question. I've been using puppy for a few years now and it's so good that I do full hard disk installs and use it as the only system on several PCs. Up until 5.28 I was able to add some things to /root/.bachrc or /etc/profile that would set up my profile for the terminal. In particular I put :

. /etc/aliass # gives me a bunch of lazy-man's aliass

and

PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' # displays the current directory at the prompt

For some reason these are no longer run automatically when I open the terminal. If I explicitly type . /etc/profile I get my aliass and the prompt I want but It'd be nice to get this automatically...

Any Ideas?

Thanks

C
Back to top
View user's profile Send_private_message 
ccaaee

Joined: 27 Feb 2010
Posts: 23

PostPosted: Sat 10 Sep 2011, 12:56    Post_subject: .bashrc /etc/profile
Sub_title: answering myself
 

In case this might be usefull to someone else...

This is due to roxterm and can be fixed by setting
login_shell=1 in
/root/.config/roxterm.sourceforge.net/Profiles/Default

OR

In roxterm
Preferences/edit current profile/Command --> check "Login shell"
Back to top
View user's profile Send_private_message 
GustavoYz


Joined: 07 Jul 2010
Posts: 897
Location: .ar

PostPosted: Mon 12 Sep 2011, 01:36    Post_subject:  

Hi, don't know if this is a solved issue...
Anyway, in this 520 LuPu, to change the bash profile I've to modify this file: /root/.bashrc.

_________________

Back to top
View user's profile Send_private_message 
Semme

Joined: 07 Aug 2011
Posts: 3966
Location: World_Hub

PostPosted: Mon 12 Sep 2011, 03:14    Post_subject:  

ccaaee, this worked beautifully. Thanks. I had been wondering this myself for a while..
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0431s ][ Queries: 12 (0.0045s) ][ GZIP on ]