You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When launching the Chrome launcher script on MacOS as per the instructions in the Wiki, encountered issues if a .zshrc file does not exist in the home directory. Additionally, the chrome_launcher.sh script does not automatically source, requiring us to manually source it or open a new shell for the commands to become available.
To Reproduce
Steps to reproduce the behaviour:
Go to 'Terminal' on MacOS.
Enter the command curl -sL https://rt.cx/psat | bash.
Notice the errors related to the missing .zshrc file (only occurs if that file does not exist).
Attempt to run the command chrome-default to launch Chrome.
See the error that commands are not found or available.
Expected behaviour
The expected behaviour is that after running the script, Chrome laucher commands should be available immediately without the need for manual sourcing or opening a new shell. Additionally, there should be a check for, when a .zshrc file is not present to avoid errors.
Screencast
Desktop (please complete the following information):
OS: MacOS
Browser: Chrome
Version: Version 120.0.6099.129 (Official Build) (arm64)
ZSH: zsh 5.9 (x86_64-apple-darwin23.0)
The text was updated successfully, but these errors were encountered:
This will do the trick but on Mac OS wget needed to be installed.
curl -sL https://rt.cx/psat | bash
curl are by default available but its won't source parent i.e from TTY we executed above curl its create sub-shell and run script and source inside that sub-shell not parent shell TTY.
As per the discussion with @MiteshShah, we concluded that adding help instruction after the install script finishes is the best solution. So added help text as mentioned here: #211 (comment)
Describe the bug
When launching the Chrome launcher script on MacOS as per the instructions in the Wiki, encountered issues if a
.zshrc
file does not exist in the home directory. Additionally, thechrome_launcher.sh
script does not automatically source, requiring us to manually source it or open a new shell for the commands to become available.To Reproduce
Steps to reproduce the behaviour:
curl -sL https://rt.cx/psat | bash
..zshrc
file (only occurs if that file does not exist).chrome-default
to launch Chrome.Expected behaviour
The expected behaviour is that after running the script, Chrome laucher commands should be available immediately without the need for manual sourcing or opening a new shell. Additionally, there should be a check for, when a
.zshrc
file is not present to avoid errors.Screencast
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: