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