# $RCSfile: gnu,v $
# $Revision: 1.2 $
# $Name:  $
# $Date: 2009/01/13 13:27:53 $
# $Author: agibert $

# EnvMng Environment configuration
#
# description: GNU softwares and libraries
#-------------------------------------------------------------------------------

path=/usr/local/bin

shlib_path=/usr/local/lib

manpath=/usr/local/man:/usr/local/share/man



case "$1" in
	*profile)
		export       PATH=$(envmng_path_add       "$PATH"       "$path")
		export SHLIB_PATH=$(envmng_path_add "$SHLIB_PATH" "$shlib_path")
		export    MANPATH=$(envmng_path_add    "$MANPATH"    "$manpath")

		export LESS=-MM
		export LESSOPEN='|/usr/local/bin/lesspipe.sh %s'
	;;

	*rc)
		alias ls='ls --color=auto'
		alias ll='ls -la'
		alias xem=xemacs

		function dmalloc { eval `command dmalloc -b $*`; }
	;;

	*)
		echo "$0: Invalid command: [$1] !"
	;;
esac
