Changing ps to basename current directory.