process.env.PWD bug fix

process.env.PWD is provided by fish, not bash.
the right usage is process.cwd
small fix