use `command -p pwd` to use the system default pwd
use slash pwd instead of command
Merge pull request #560 from brock/pwd

use `command -p pwd` to use the system default pwd