Re: Getting fortune to run when opening a terminal
Eduardo M KALINOWSKI wrote:
andy wrote:
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 .
Thanks. Fixed with:
# 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"
Reply to: