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

49 lines
1.0 KiB
Plaintext

# $RCSfile: aix-system,v $
# $Revision: 1.1 $
# $Name: $
# $Date: 2009/01/13 13:27:53 $
# $Author: agibert $
# EnvMng Environment configuration
#
# description: AIX System base configuration
#-------------------------------------------------------------------------------
path=/usr/linux/bin:/usr/ucb:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/opt/seos/bin:/usr/games
shlib_path=/usr/local/lib
manpath=/usr/local/man:/opt/seos/man:/opt/freeware/man
case "$1" in
*profile)
export PATH=$(envmng_path_add "$PATH" "$path")
export SHLIB_PATH=$(envmng_path_add "$SHLIB_PATH" "$shlib_path")
export MANPATH=$(envmng_path_add "$MANPATH" "$manpath")
if [ "$DISPLAY" = "" ]
then
export DISPLAY="$($grep "^$LOGNAME:" $envmng_display | $sed -e "s/^$LOGNAME:[ \ ]*//" -e "s/[ \ ]*#.*$//"):0"
fi
stty erase ^?
stty kill ^U
stty eol ^@
stty susp ^Z
stty intr ^C
# stty rprnt ^R
stty werase ^W
stty lnext ^V
;;
*rc)
alias ls=ls
;;
*)
echo "$0: Invalid command: [$1] !"
;;
esac