envmng/etc/envmng.d/gnu

42 lines
844 B
Plaintext
Raw Normal View History

2009-01-12 18:59:03 +01:00
# $RCSfile: gnu,v $
# $Revision: 1.2 $
2009-01-12 18:59:03 +01:00
# $Name: $
# $Date: 2009/01/13 13:27:53 $
2009-01-12 18:59:03 +01:00
# $Author: agibert $
# EnvMng Environment configuration
#
# description: GNU softwares and libraries
#-------------------------------------------------------------------------------
2009-01-12 18:59:03 +01:00
path=/usr/local/bin
2009-01-12 18:59:03 +01:00
shlib_path=/usr/local/lib
manpath=/usr/local/man:/usr/local/share/man
2009-01-12 18:59:03 +01:00
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'
2009-01-12 18:59:03 +01:00
;;
*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