Re: Getting fortune to run when opening a terminal
- From: andy <geek_show@xxxxxxxxxxxxx>
- Date: Sun, 30 Mar 2008 17:25:44 +0100
Eduardo M KALINOWSKI wrote:
andy wrote:Thanks. Fixed with:Hi all
Under Slackware, whenever I would open up konsole (a terminal app), so a fortune would be displayed before the typical Bash prompt.
Is there a way of setting it up under Debian so that it can do the same thing?
Just put a call to the fortune program in ~/.bash_profile .
# call fortune:
if [ -x /usr/games/fortune ] ; then
echo ; /usr/games/fortune ; echo
fi
A
--
"If they can get you asking the wrong questions, they don't have to worry about the answers." - Thomas Pynchon, "Gravity's Rainbow"
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- Getting fortune to run when opening a terminal
- From: andy
- Re: Getting fortune to run when opening a terminal
- From: Eduardo M KALINOWSKI
- Getting fortune to run when opening a terminal
- Prev by Date: Re: bits/news from the users of Debian?
- Next by Date: Re: Getting fortune to run when opening a terminal
- Previous by thread: Re: Getting fortune to run when opening a terminal
- Next by thread: Re: Getting fortune to run when opening a terminal
- Index(es):
Relevant Pages
- Getting fortune to run when opening a terminal
... Under Slackware, whenever I would open up konsole (a terminal app), so a fortune
would be displayed before the typical Bash prompt. ... To UNSUBSCRIBE, email to
debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ... (Debian-User) - Re: exporting PATH (without logging in again)
... Russell Steicke -- Fortune says: ... I'm so broke I can't even pay
attention. ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
(Debian-User) - RE: tr
... There is also a method spat out by fortune every once in awhile, using
col, but I can't remember it. ... To unsubscribe, ... (freebsd-questions) - Re: Getting fortune to run when opening a terminal
... Under Slackware, whenever I would open up konsole (a terminal app), so a fortune
would be displayed before the typical Bash prompt. ... To UNSUBSCRIBE, email to
debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ... (Debian-User) - Re: [OT] How to add fortune output to terminal
... > safe method to add a fortune command to my .bashrc ... Your .bashrc
should be completely silent. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
... (Debian-User)