home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
sysutils
/
msshell
/
ms_sh200.zoo
/
sh.rc
< prev
next >
Wrap
Text File
|
1992-06-20
|
714b
|
46 lines
#!sh
#
# Set up functions etc.
#
if [ "$windir" = "" ]
then swap on
else swap disk expand
fi
msdos LIB TMP PATH COMSPEC
alias 'l=ls -C'
alias 'cls=tput clear'
alias 'who=userlist'
alias 'autoload=typeset -fu'
alias 'integer=typeset -i'
alias 'r=fc -e -'
login () {
if [ -f login.exe ]
then ./login $*
elif [ -f f:login.exe ]
then f:login $*
else z:/public/login $*
fi
if [ $? = 0 ]
then TMP=z:/tmp
fi
DATE=`date '+%.2y%.2m%.2d'`
EXINIT="set aw ai sm dm sw=4 wm=5 dir=$TMP"
}
logout () {
DATE=`date '+%.2y%.2m%.2d'`
cd
z:/public/logout
TMP=c:/tmp
EXINIT="set aw ai sm dm sw=4 wm=5 dir=$TMP"
}