Bug 247951

Summary: Quotes
Product: [Fedora] Fedora Reporter: Jakub 'Livio' Rusinek <liviopl.pl>
Component: fortune-modAssignee: Jeff Sheltren <sheltren>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 7   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-12 20:43:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jakub 'Livio' Rusinek 2007-07-12 08:45:32 UTC
Description of problem:

bash could make our life nicer, when it would show quotes on every bash startup.
Additionaly, the format of user@desktop string could be more human.

Actual results:

You'll only see your user name and computer name.

Expected results:

Some quotes in local language.

Comment 1 Tim Waugh 2007-07-12 09:13:29 UTC
Doesn't fortune-mod already do what you want?

Comment 2 Jeff Sheltren 2007-07-12 20:43:32 UTC
Hi Jakub, once you install fortune-mod, to get a fortune on each login, you can
add something like this to your .bash_profile

if [ -t 0 ]; then
    if [ -x /usr/bin/fortune ]; then
        /usr/bin/fortune
    fi
fi

You can also change your prompt by setting PS1 in the same file.  I set my
prompt something like this:
PS1='[\u@\h \W]\$ '