Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eliminated unnecessary cd and failing substitution
Changing the working directory in a sub-subshell does not change the working directory of the executing shell. The substitution was broken for me on _all_ my machines, so I started looking into the business.
- Loading branch information
39b46f5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
39b46f5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! this commit fixes issue ohmyzsh#1786: upgrade.sh: Bad substitution.
39b46f5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 for both changes, saving directory here is irrelevant.
39b46f5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can, too, verify that this fixes ohmyzsh#1786. See ohmyzsh#1786 (comment).