plan9fox/rc/bin/ape/psh
2011-03-30 18:38:15 +00:00

11 lines
240 B
Bash
Executable file

#!/bin/rc
# set up a shell running in an approximate POSIX 1003.2 environment
rfork en
fn sigterm{}
HOME=$home
bind -b /rc/bin/ape /bin
bind -b /$cputype/bin/ape /bin
if(test -d /$cputype/bin/pub)
bind -a /$cputype/bin/pub /bin
/bin/sh $*