Add explicit setting of pager
Fix cd by checking if $2 and $3 are unset, not zero-length