On 02/25/14 20:52, Patrick O'Callaghan wrote:
On Tue, Feb 25, 2014 at 12:27 PM, Joachim Backes
<joachim.backes@xxxxxxxxxxxxxx> wrote:
That will have absolutely no effect on any currently running program,
including the desktop you're working in. Processes inherit external
variables from the process that executed them, so only those which are
run from the new shell you just entered are going to see the change.
You could of course visit every other running Shell and source
~/.bashrc, but that will still not affect apps run from the GUI.
IOW, yes you have to log out and in again.
Not necessarily!
1) Finish thunderbird
2) Until the next logout: . ~/.bashrc;thunderbird
No logout needed :-)
This is consistent with what I said. You're executing a new instance
of TB from the Shell you modified with new external variables.
You could also do:
VARIABLE1=value1 VARIABLE2=value2 ... thunderbird
without having to invoke a new Shell. Same effect.
poc
ok, all.
now that the s/n has dropped, and i have finished playing with
'.bashrc', 'alias', and a script file, i submit the following.
the command that i suggested is what i use when i am in 'init
level 1' to reactivate ".bashrc". i also use it in 'level 3',
and 'level 5'.
when i am at either of those levels and i open a new terminal, if
i have made a change to ".bashrc", changes are present, just like
they are if i open a new terminal in 'level 3' or in 'level 5'.
[i am not dropping down to 'level 1' just to test.]
what i did do, while at 'level 5', is i edited ".bashrc" to add
a couple of 'alias' lines, and wrote a script file for alias files.
while using kde, i ran test of following and it all works as noted
below.
i keep 6 terminals running in kde, i do not close them when i
end kde.
in each of the terminals, i have at least 2 tabs open. in each
terminal, when in right most tab, everything works fine. for some
reason, that i did not bother to figure out why, it does not work
in other tabs.
if i open a new terminal after reactivating '.bashrc' the additions
are active.
no logout and login is needed.
++++++++++
addition to my "~/.bashrc":
## reactivate ~/.bashrc - test for new alias
alias nbrc='. ~/.bashrc'
alias tst='echo "this is a test"'
++++++++++
script file - 'nbrc':
#!/bin/sh
## fn= nbrc vr= 0000-0001
## use= reactivate .bashrc - test for new alias
. ~/.bashrc
echo "~/.bashrc reactivated"
echo
alias|sort
echo
++++++++++
enjoy. ;-)
later. i am "pulling the plugs" and crashing.
--
peace out.
in a world with out fences, who needs gates.
tc.hago.
g
.
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org