Update shell.c

Add current folder function.