f7d6813e0c
- Add --list (-l), --listid (-li) and --listenv (-le) options. - Add and rework many scripts in etc/envmng.d directory...
42 lines
844 B
Plaintext
42 lines
844 B
Plaintext
# $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
|