mik-laj commented on a change in pull request #5623: [AIRFLOW-5002] Diagnostics of getopt fixed for zsh on MacOS URL: https://github.com/apache/airflow/pull/5623#discussion_r305931702
########## File path: CONTRIBUTING.md ########## @@ -281,11 +281,25 @@ clean the docker disk space periodically. If you are on MacOS: * Run `brew install gnu-getopt coreutils` (if you use brew, or use equivalent command for ports) -* Then (with brew) link the gnu-getopt to become default as suggested by brew by typing. +* Then (with brew) link the gnu-getopt to become default as suggested by brew. + +If you use bash, you should run this command: + + ```bash -echo 'export PATH=\"/usr/local/opt/gnu-getopt/bin:\$PATH\"' >> ~/.bash_profile" -. ~/.bash_profile" +echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> ~/.bash_profile +. ~/.bash_profile ``` + +If you use zsh, you should run this command: + +```bash +echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> ~/.zprofile +. ~/.zprofile +``` + +if you use zsh Review comment: ```suggestion ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
