envmng/etc/envmng.d/snav
agibert f7d6813e0c - Add AIX support,
- Add --list (-l), --listid (-li) and --listenv (-le) options.
- Add and rework many scripts in etc/envmng.d directory...
2009-01-13 13:27:53 +00:00

32 lines
583 B
Plaintext

# $RCSfile: snav,v $
# $Revision: 1.2 $
# $Name: $
# $Date: 2009/01/13 13:27:53 $
# $Author: agibert $
# EnvMng Environment configuration
#
# description: SNAV Source Naviguator
#-------------------------------------------------------------------------------
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