Skip to content

Conversation

jwatte
Copy link

@jwatte jwatte commented Mar 15, 2024

zsh wants "=" not "==" for test equality.
"=" also works in bash.
zsh is the default shell on MacOS, so it seems prudent to work by default on that platform.

zsh wants "=" not "==" for test equality.
"=" also works in bash.
zsh is the default shell on MacOS, so it seems prudent to work by default on that platform.
@LiberQuack
Copy link

anyone able to merge it?

@stefanmcshane
Copy link

Bump on getting this merged

@itxtoledo
Copy link

why this is not merged yet?

@Wattsy2020
Copy link

Had the same problem
Also we could switch to using [[ ]] instead following this recommendation
e.g. if [[ "$(uname)" == "Linux" ]]; then

@lewis-roo
Copy link

any reason not to merge? patch looks good

@jwatte
Copy link
Author

jwatte commented Sep 16, 2024

Look, it's only been half a year, and it's a whole full one character of a change - in four different places! - so let's be realistic here. Reviews take time.

Copy link

@Redaloukil Redaloukil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can approve, however, I tried to check with other shells and some fail to run script. for example : > ksh block at line 100 because of the command pushd

It runs with your change on zsh which goes well with the actual installation instructions. I confirm after trying in on my host.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants