envmng/etc/envmng.d/gnu
2009-01-12 17:59:03 +00:00

34 lines
648 B
Plaintext

# $RCSfile: gnu,v $
# $Revision: 1.1 $
# $Name: $
# $Date: 2009/01/12 17:59:03 $
# $Author: agibert $
path=/home/dtarget/local/bin
shlib_path=/home/dtarget/local/lib
manpath=/home/dtarget/local/man:/home/dtarget/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")
;;
*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