envmng/etc/envmng.d/snav

27 lines
426 B
Plaintext
Raw Normal View History

2009-01-12 18:59:03 +01:00
# $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