Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278009 - app-misc/grc: add aliases to profile.d
Summary: app-misc/grc: add aliases to profile.d
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-16 06:01 UTC by Vladimir Rusinov
Modified: 2009-09-06 05:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Rusinov 2009-07-16 06:01:37 UTC
Why don't grc ebuild adds aliases to profile.d?

I've added ebuild to my overlay which installs /etc/profile.d/grc.sh

svn://svn.greenmice.info/gmos-linux/portage/gmos/app-misc/grc/

cat /etc/profile.d/grc.sh
if [ -f /usr/bin/grc ]; then
    alias ping="grc --colour=auto ping"
    alias traceroute="grc --colour=auto traceroute"
    alias make="grc --colour=auto make"
    alias diff="grc --colour=auto diff"
    alias cvs="grc --colour=auto cvs"
    alias netstat="grc --colour=auto netstat"

    alias logc="grc cat"
    alias logt="grc tail"
    alias logh="grc head"
fi

Reproducible: Always
Comment 1 Wormo (RETIRED) gentoo-dev 2009-07-17 06:03:45 UTC
Thanks for sharing your aliases, sending your suggestion on to package maintainers...
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-09-06 05:45:16 UTC
Nice tip, but we won't be adding user configuration details like this to the system wide profile. Sorry.