As it suggests, he adds features to the shell as he introduces the system calls needed. You can see the source here
http://basepath.com/aup/ex/group__AUP2ex.html#Chap. 5
See files sh0.c (for versions 1 2 3) and sh3.c for version 4.
https://pdos.csail.mit.edu/6.828/2016/xv6.html
As it suggests, he adds features to the shell as he introduces the system calls needed. You can see the source here
http://basepath.com/aup/ex/group__AUP2ex.html#Chap. 5
See files sh0.c (for versions 1 2 3) and sh3.c for version 4.