envmng/etc/envmng.d/snav

32 lines
583 B
Plaintext
Raw Normal View History

2009-01-12 18:59:03 +01:00
# $RCSfile: snav,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: SNAV Source Naviguator
#-------------------------------------------------------------------------------
2009-01-12 18:59:03 +01:00
path=/home/dtarget/sourcenav/bin
manpath=/home/dtarget/sourcenav/man
case "$1" in
*profile)
export PATH=$(envmng_path_add "$PATH" "$path")
export MANPATH=$(envmng_path_add "$MANPATH" "$manpath")
;;
*rc)
alias snav=snavigator
;;
*)
echo "$0: Invalid command: [$1] !"
;;
esac