Martin Schulze wrote:
> Please always Cc to me when replying to me on the lists.
> ...
> Another way to do this is:
>
> if [ -n "$PS1" -a "$TERM" != "dumb" ]; then
> # aliases and the like for interactive use
> else
> # non-intreactive
> fi
>
> TERM=dumb is set by dumb terminal emulations suc
Bob Proulx wrote:
> s. keeling wrote:
> > Another common practice is to set PS1 in .bash_profile, then call
> > .bashrc from .bash_profile.
> > if [ ! -z "$PS1" ]; then
>
> The PS1 is set by default for interactive shells and not set for
> non-interactive shells. So the test for $PS1 works witho
Bob Proulx <[EMAIL PROTECTED]>:
> s. keeling wrote:
> > Another common practice is to set PS1 in .bash_profile, then call
> > .bashrc from .bash_profile.
> > if [ ! -z "$PS1" ]; then
>
> The PS1 is set by default for interactive shells and not set for
> non-interactive shells. So the test for
s. keeling wrote:
> Another common practice is to set PS1 in .bash_profile, then call
> .bashrc from .bash_profile.
> if [ ! -z "$PS1" ]; then
The PS1 is set by default for interactive shells and not set for
non-interactive shells. So the test for $PS1 works without needing to
set it. This is i
NN_il_Confusionario <[EMAIL PROTECTED]>:
> On Tue, Apr 15, 2008 at 02:08:02AM +0200, s. keeling wrote:
> > .bash_profile is for setting up global env vars. .bashrc is for doing
> > things for interactive ("login") sessions.
>
> this is completely different from what I understand by reading man
On Tue, Apr 15, 2008 at 02:08:02AM +0200, s. keeling wrote:
> .bash_profile is for setting up global env vars. .bashrc is for doing
> things for interactive ("login") sessions.
this is completely different from what I understand by reading man bash
(section FILES, and also search for "INVOCATION"
On Mon, Apr 14, 2008 at 8:08 PM, s. keeling <[EMAIL PROTECTED]> wrote:
> Vikki Roemer <[EMAIL PROTECTED]>:
>
> > In my experience, I've never had fortune break scp, but maybe I've
> > just been lucky.
> >
> > But, if it does cause problems, just remove it and add it to
> > .bash_profile in
Vikki Roemer <[EMAIL PROTECTED]>:
> On Sun, Apr 13, 2008 at 2:27 AM, Bob Proulx <[EMAIL PROTECTED]> wrote:
> > Angus Auld wrote:
> > > Would someone be able to advise me as to what is a
> > > safe method to add a fortune command to my .bashrc
> > > file so as to have fortune output in my termin
On Sun, Apr 13, 2008 at 2:27 AM, Bob Proulx <[EMAIL PROTECTED]> wrote:
> Angus Auld wrote:
> > Would someone be able to advise me as to what is a
> > safe method to add a fortune command to my .bashrc
> > file so as to have fortune output in my terminal @
> > login?
> > I've googled this prett
On Sun, Apr 13, 2008 at 12:27:15AM -0600, Bob Proulx wrote:
> Angus Auld wrote:
> > Would someone be able to advise me as to what is a
> > safe method to add a fortune command to my .bashrc
> > file so as to have fortune output in my terminal @
> > login?
> > I've googled this pretty extensively, a
Angus Auld wrote:
> Would someone be able to advise me as to what is a
> safe method to add a fortune command to my .bashrc
> file so as to have fortune output in my terminal @
> login?
> I've googled this pretty extensively, and have found a
> few methods, but also warnings that certain processes
>
>
> And for real technicolor stuff, hunt for the kernelnewbies fortunes
> file; selected quotes from lkml:
>
> -
> "I want you guys to look at your computer screen, imagining the worst
> monster you can (the cacodeamon from Quake will do, just make him
> hairie
Owen Townend <[EMAIL PROTECTED]>:
>
>An extract from my .bashrc
>
> if [ -x /usr/games/fortune ]; then
>echo; /usr/games/fortune -a; echo
> fi
>
>Also, IIRC, the default 'fortunes-mod' package includes only a single data
> file which has no 'offensive' fortunes, so unless you add
>
>
> > Greetings,
> > Would someone be able to advise me as to what is a
> > safe method to add a fortune command to my .bashrc
> > file so as to have fortune output in my terminal @
> > login?
> > I've googled this pretty extensively, and have found
> > a
> > few methods, but also warnings that c
--- Angus Auld <[EMAIL PROTECTED]> wrote:
> Greetings,
> Would someone be able to advise me as to what is a
> safe method to add a fortune command to my .bashrc
> file so as to have fortune output in my terminal @
> login?
> I've googled this pretty extensively, and have found
> a
> few methods,
On Fri April 11 2008, Angus Auld wrote:
> Would someone be able to advise me as to what is a
> safe method to add a fortune command to my .bashrc
> file so as to have fortune output in my terminal @
> login?
add these lines to your ~/.bashrc
echo
echo "fortune"
echo
fortune -a
echo
--
Paul Cartw
Greetings,
Would someone be able to advise me as to what is a
safe method to add a fortune command to my .bashrc
file so as to have fortune output in my terminal @
login?
I've googled this pretty extensively, and have found a
few methods, but also warnings that certain processes
can be broken by do
17 matches
Mail list logo