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

Documentation for alias cd in cheatsheet #50

Closed
keikoro opened this issue Feb 15, 2024 · 1 comment · Fixed by #49
Closed

Documentation for alias cd in cheatsheet #50

keikoro opened this issue Feb 15, 2024 · 1 comment · Fixed by #49

Comments

@keikoro
Copy link
Contributor

keikoro commented Feb 15, 2024

Describe the bug

The ohmyzsh cheatsheet lists cd as an ohmyzsh alias for navigating to one's home directory.

According to the zsh docs, however, this is a built-in:

Change the current directory. In the first form, change the current directory to arg, or to the value of $HOME if arg is not specified. If arg is ‘-’, change to the previous directory.

... so I'd suggest to remove it to avoid confusion/misleading users (contributed to by the fact the cheatsheet specifically states it "has been edited to only show main Oh My Zsh tricks").

If the ~ tilde is indeed an ohmyzsh alias, that of course makes sense to keep, and its description could e.g. be updated to point out it duplicates the built in cd behaviour.

@keikoro
Copy link
Contributor Author

keikoro commented Feb 15, 2024

Only just saw there's a separate repo for the wiki, sorry; perhaps someone could transfer this issue to there.

@mcornella mcornella transferred this issue from ohmyzsh/ohmyzsh Feb 15, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in Main project Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant