On Sun, Mar 30, 2008 at 11:17:21AM -0300, 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 .
.bash_profile is run only on login shells. Use .bashrc is you want it for *every* console: ,----[ from my .bashrc ] | echo | echo "Fortune cookie:" | echo | fortune -a | echo `---- Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein)
signature.asc
Description: Digital signature