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

cd { pwd } should be an error - dir name required when block is passed #1924

Closed
andychu opened this issue Apr 8, 2024 · 1 comment
Closed

Comments

@andychu
Copy link
Contributor

andychu commented Apr 8, 2024

from

andychu pushed a commit that referenced this issue May 18, 2024
Because I was confused by the implicit $HOME behavior.

This is issue #1924.

A bare 'cd' should be OSH only, while YSH is more explicit.

Bad:

    cd { echo hi }

Good:

    cd $HOME { echo hi }
@andychu
Copy link
Contributor Author

andychu commented Jun 20, 2024

@andychu andychu closed this as completed Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant