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 Mon 01 Sep 2014, 17:22
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 [4 Posts]  
Author Message
ccaaee

Joined: 27 Feb 2010
Posts: 23

PostPosted: Sat 10 Sep 2011, 03:21    Post subject:  .bashrc /etc/profile
Subject description: 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
Subject description: 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: 896
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: 3808
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 from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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
You cannot attach files in this forum
You can download files in this forum


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