Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cd): cd() (no args) changes to home directory #306

Merged
merged 1 commit into from Jan 24, 2016
Merged

feat(cd): cd() (no args) changes to home directory #306

merged 1 commit into from Jan 24, 2016

Conversation

nfischer
Copy link
Member

cd() used to be a error. Now it changes to the home directory instead. This is to match unix behavior:

$ pwd # prints whatever the cwd is
$ cd
$ pwd # prints the home directory path

@ariporad
Copy link
Contributor

LGTM!

ariporad added a commit that referenced this pull request Jan 24, 2016
feat(cd): cd() (no args) changes to home directory
@ariporad ariporad merged commit 361eb93 into shelljs:master Jan 24, 2016
@ariporad ariporad added this to the v0.6.0 milestone Jan 24, 2016
@nfischer nfischer deleted the cd-no-args branch January 24, 2016 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants