Permalink
Please sign in to comment.
Browse files
Adds error handling to the pushd and popd builtins. (#52)
Add error handling to the pushd and popd builtins. This makes them approximately match the behavior of bash, - Exit `pushd` when too many arguments are passed (instead of simply ignoring extraneous input). - Fix a bug in `pushd` behavior where the current working directory is pushed onto the stack even if the argument is invalid.
- Loading branch information...
0 comments on commit
9a81dcb