Skip to content

Commit 3add39c

Browse files
karlhorkycortinico
andauthored
Getting Started: list zsh before bash in macOS guide (facebook#3358)
Co-authored-by: Nicola Corti <[email protected]>
1 parent f6be947 commit 3add39c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/_getting-started-macos-android.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,15 @@ Finally, click "Apply" to download and install the Android SDK and related build
7373

7474
The React Native tools require some environment variables to be set up in order to build apps with native code.
7575

76-
Add the following lines to your `$HOME/.bash_profile` or `$HOME/.bashrc` (if you are using `zsh` then `~/.zprofile` or `~/.zshrc`) config file:
76+
Add the following lines to your `~/.zprofile` or `~/.zshrc` (if you are using `bash`, then `~/.bash_profile` or `~/.bashrc`) config file:
7777

7878
```shell
7979
export ANDROID_SDK_ROOT=$HOME/Library/Android/sdk
8080
export PATH=$PATH:$ANDROID_SDK_ROOT/emulator
8181
export PATH=$PATH:$ANDROID_SDK_ROOT/platform-tools
8282
```
8383

84-
> `.bash_profile` is specific to `bash`. If you're using another shell, you will need to edit the appropriate shell-specific config file.
85-
86-
Type `source $HOME/.bash_profile` for `bash` or `source $HOME/.zprofile` to load the config into your current shell. Verify that ANDROID_SDK_ROOT has been set by running `echo $ANDROID_SDK_ROOT` and the appropriate directories have been added to your path by running `echo $PATH`.
84+
Run `source ~/.zprofile` (or `source ~/.bash_profile` for `bash`) to load the config into your current shell. Verify that ANDROID_SDK_ROOT has been set by running `echo $ANDROID_SDK_ROOT` and the appropriate directories have been added to your path by running `echo $PATH`.
8785

8886
> Please make sure you use the correct Android SDK path. You can find the actual location of the SDK in the Android Studio "Preferences" dialog, under **Appearance & Behavior****System Settings****Android SDK**.
8987

0 commit comments

Comments
 (0)