.bashrc /etc/profile

Booting, installing, newbie
Post Reply
Message
Author
ccaaee
Posts: 48
Joined: Sat 27 Feb 2010, 17:10

.bashrc /etc/profile

#1 Post by ccaaee »

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

ccaaee
Posts: 48
Joined: Sat 27 Feb 2010, 17:10

.bashrc /etc/profile

#2 Post by ccaaee »

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"

User avatar
GustavoYz
Posts: 883
Joined: Wed 07 Jul 2010, 05:11
Location: .ar

#3 Post by GustavoYz »

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.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#4 Post by Semme »

ccaaee, this worked beautifully. Thanks. I had been wondering this myself for a while..

Post Reply