envmng/etc/envmng.d/shell
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

48 lines
634 B
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# $RCSfile: shell,v $
# $Revision: 1.2 $
# $Name: $
# $Date: 2009/01/13 13:27:53 $
# $Author: agibert $
# EnvMng Environment configuration
#
# description: Shell default configuration
#-------------------------------------------------------------------------------
case $BASH in
*bash)
shell=$BASH
;;
*)
shell=/usr/bin/ksh
;;
esac
case "$shell"-$1 in
*ksh-*profile)
export ENV=$envmng_prefix/etc/envmng_rc
;;
*bash-*profile)
export ENV=$envmng_prefix/etc/envmng_rc
;;
*ksh-*rc)
alias __A=
alias __B=
alias __C=
alias __D=
;;
*bash-*rc)
;;
*)
echo "$0: Invalid command: [$1] !"
;;
esac