From 37eaa53007d3c74227110ee562f963913294672d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Fri, 7 Mar 2008 13:06:40 +0000
Subject: [PATCH] Add handy `rpcgen' alias in `/etc/profile'.

svn path=/nixos/trunk/; revision=11013
---
 etc/profile.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/etc/profile.sh b/etc/profile.sh
index a1bfb52485a..c88d6e83f9b 100644
--- a/etc/profile.sh
+++ b/etc/profile.sh
@@ -91,6 +91,9 @@ alias ls="ls --color=tty"
 alias ll="ls -l"
 alias which="type -p"
 
+# Help `rpcgen' find `cpp', assuming it's installed in the user's environment.
+alias rpcgen="rpcgen -Y $HOME/.nix-profile/bin"
+
 
 # Read system-wide modifications.
 if test -f /etc/profile.local; then