rbmj/612-code — comment on commit 72a1b13ec56b00148f34780aa1aea077424b4650
File:  line 0
By swarage:

BTW, this is what i put, not sure if its right

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi

if [ "$PS1" ]; then
if [ "$BASH" ]; then
# The file bash.bashrc already sets the default PS1.
# PS1='\h:\w\$ '
if [ -f /etc/bash.bashrc ]; then
. /etc/bash.bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi
export PATH="~/Robotics/ucpp/ucpp"

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

On Tue, Dec 27, 2011 at 3:05 PM, swarajnerd! wrote:

> with or without the |
>
> in |export PATH="~/Robotics/ucpp/ucpp"|
>
> On Tue, Dec 27, 2011 at 3:03 PM, Anirudh B <
> reply@reply.github.com
> > wrote:
>
>> the file should be "~/.profile"... however, now that I think about it,
>> it is probably better you instead edit "/etc/profile" as blair said. You
>> will need to be root to do this, so the following command should work
>> for you on ubuntu:
>>
>> |gksu gedit /etc/profile|
>>
>> Anirudh Bagde
>> I am an FSF member -- Help us support software freedom
>>
>> Protect your digital freedoms and the freedom of the internet.
>> SOPA can not and must not pass if we want the Internet to remain free.
>> <
>> https://www.eff.org/deeplinks/2011/10/sopa-hollywood-finally-gets-chance-break-internet
>> >
>>
>> Take action now to defeat SOPA.
>> <
>> https://wfc2.wiredforchange.com/o/9042/p/dia/action/public/?action_KEY=8336
>> >
>>
>>
>> On 12/27/2011 03:00 PM, swarage wrote:
>> > sorry for asking so many questions but . . .
>> > for the .profile file
>> >
>> > I looked for it, and i couldn't find it, TT.TT
>> >
>> > ---
>> > Reply to this email directly or view it on GitHub:
>> >
>> https://github.com/rbmj/612-code/commit/72a1b13ec56b00148f34780aa1aea077424b4650#commitcomment-822606
>>
>> ---
>> Reply to this email directly or view it on GitHub:
>>
>> https://github.com/rbmj/612-code/commit/72a1b13ec56b00148f34780aa1aea077424b4650#commitcomment-822612
>>
>
>
>
> --
> from Swaraj :)
>

--
from Swaraj :)