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

27 lines
426 B
Plaintext

# $RCSfile: snav,v $
# $Revision: 1.1 $
# $Name: $
# $Date: 2009/01/12 17:59:03 $
# $Author: agibert $
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